Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix SDL_SetWindowSize with X11 non-RESIZABLE windows, patch by Pierre…
Browse files Browse the repository at this point in the history
…-Loup.
  • Loading branch information
slouken committed Jun 23, 2012
1 parent 22ada2e commit fb0995b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11window.c
Expand Up @@ -754,7 +754,7 @@ X11_SetWindowSize(_THIS, SDL_Window * window)

XGetWMNormalHints(display, data->xwindow, sizehints, &userhints);

sizehints->min_width = sizehints->max_height = window->w;
sizehints->min_width = sizehints->max_width = window->w;
sizehints->min_height = sizehints->max_height = window->h;

XSetWMNormalHints(display, data->xwindow, sizehints);
Expand Down

0 comments on commit fb0995b

Please sign in to comment.