|
@@ -1658,7 +1658,7 @@ static void X11_DispatchEvent(SDL_VideoDevice *_this, XEvent *xevent)
|
|
* expected by SDL and its clients. Defer emitting the size/move events until the corresponding
|
|
* expected by SDL and its clients. Defer emitting the size/move events until the corresponding
|
|
* PropertyNotify arrives for consistency.
|
|
* PropertyNotify arrives for consistency.
|
|
*/
|
|
*/
|
|
- const Uint32 changed = X11_GetNetWMState(_this, data->window, xevent->xproperty.window) ^ data->window->flags;
|
|
|
|
|
|
+ const SDL_WindowFlags changed = X11_GetNetWMState(_this, data->window, xevent->xproperty.window) ^ data->window->flags;
|
|
if (changed & (SDL_WINDOW_FULLSCREEN | SDL_WINDOW_MAXIMIZED)) {
|
|
if (changed & (SDL_WINDOW_FULLSCREEN | SDL_WINDOW_MAXIMIZED)) {
|
|
SDL_copyp(&data->pending_xconfigure, &xevent->xconfigure);
|
|
SDL_copyp(&data->pending_xconfigure, &xevent->xconfigure);
|
|
data->emit_size_move_after_property_notify = true;
|
|
data->emit_size_move_after_property_notify = true;
|