diff gui/ui/actions.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 29761b2b8cb0
children d798beebfe71
line wrap: on
line diff
--- a/gui/ui/actions.c	Mon Jan 14 15:22:16 2013 +0000
+++ b/gui/ui/actions.c	Mon Jan 14 17:27:45 2013 +0000
@@ -232,7 +232,7 @@
 
     wsDestroyWindow(&guiApp.mainWindow);
 
-    wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, wsShowFrame | wsMaxSize | wsHideWindow, "MPlayer");
+    wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, wsShowFrame | wsMinSize | wsMaxSize | wsHideWindow, "MPlayer");
     wsCreateImage(&guiApp.mainWindow, guiApp.main.Bitmap.Width, guiApp.main.Bitmap.Height);
     wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
     wsSetIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon);