src/video/x11/SDL_x11window.c
changeset 6484 b904bb684095
parent 6483 4b51ff3dcf74
child 6485 3f600ccf393c
--- a/src/video/x11/SDL_x11window.c	Fri Sep 28 00:57:47 2012 -0700
+++ b/src/video/x11/SDL_x11window.c	Fri Sep 28 01:11:30 2012 -0700
@@ -152,7 +152,6 @@
     Atom _NET_WM_STATE_MAXIMIZED_VERT = videodata->_NET_WM_STATE_MAXIMIZED_VERT;
     Atom _NET_WM_STATE_MAXIMIZED_HORZ = videodata->_NET_WM_STATE_MAXIMIZED_HORZ;
     Atom _NET_WM_STATE_FULLSCREEN = videodata->_NET_WM_STATE_FULLSCREEN;
-    Atom _NET_WM_ACTION_RESIZE = videodata->_NET_WM_ACTION_RESIZE;
     Atom actualType;
     int actualFormat;
     unsigned long i, numItems, bytesAfter;
@@ -189,9 +188,8 @@
         XFree(propertyValue);
     }
 
-    if (X11_IsActionAllowed(window, _NET_WM_ACTION_RESIZE)) {
-        flags |= SDL_WINDOW_RESIZABLE;
-    }
+    /* FIXME, check the size hints for resizable */
+    /*flags |= SDL_WINDOW_RESIZABLE;*/
 
     return flags;
 }