Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix SDL_SetWindowSize with X11 non-RESIZABLE windows, patch by Pierre…

…-Loup.
  • Loading branch information
slouken committed Jun 23, 2012
1 parent 22ada2e commit fb0995b73ce495f4c3cb284806e261063a3dcb97
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11window.c
@@ -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);

0 comments on commit fb0995b

Please sign in to comment.