Skip to content

BadCursor error on shutdown #204

Open
@naftali100

Description

@naftali100
X Error of failed request:  BadCursor (invalid Cursor parameter)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Resource id in failed request:  0x7000017
  Serial number of failed request:  525
  Current serial number in output stream:  531

getting this error when mouse click cause shutdown (clicking imgui button that cause the main loop to break), and sfml window was not closed (easy to fix.. just check if the window is open and close if true...), And call sf::imgui::shutdown().

I thought it worth sharing if someone will get the same error... it took me about a hour to find the problem...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions