diff gui/interface.c @ 35647:a30496350cb9

Don't allow shrinking the main window. Its fixed size is defined in the skin file.
author ib
date Mon, 14 Jan 2013 17:27:45 +0000
parents 58d55c933757
children f6c00eacd816
line wrap: on
line diff
--- a/gui/interface.c	Mon Jan 14 15:22:16 2013 +0000
+++ b/gui/interface.c	Mon Jan 14 17:27:45 2013 +0000
@@ -184,7 +184,7 @@
 
 // i=wsHideFrame|wsMaxSize|wsHideWindow;
 // if ( guiApp.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow;
-    i = wsShowFrame | wsMaxSize | wsHideWindow;
+    i = wsShowFrame | wsMinSize | wsMaxSize | wsHideWindow;
     wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, i, "MPlayer");
     wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
     wsXDNDMakeAwareness(&guiApp.mainWindow);