SDL icon indicating copy to clipboard operation
SDL copied to clipboard

[x11] events don't work in testnative

Open madebr opened this issue 2 years ago • 2 comments

For example, the SDL_EVENT_QUIT event is never triggered (checked with a debugger). This is the complete stdout after clicking on the x:

INFO: Creating native window for x11 driver
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  146 ()
  Minor opcode of failed request:  1
  Resource id in failed request:  0x1200001
  Serial number of failed request:  4303
  Current serial number in output stream:  4304

madebr avatar Aug 11 '23 12:08 madebr

Yeah, foreign windows aren't managed by SDL in any way. This is a common request though, so I'll put it on the SDL 3.0 milestone.

slouken avatar Nov 08 '23 06:11 slouken

So we've enabled mouse and keyboard events. The close button still doesn't work though.

@icculus, even if I register the WM protocols, we still don't get ClientMessage events for the window. Can you take a look?

slouken avatar Aug 04 '24 16:08 slouken

We are scoping work for the SDL 3.2.0 release, so please let us know if this is a showstopper for you.

slouken avatar Oct 06 '24 17:10 slouken