Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:
If a window is resized manually when maximized, unset the maximize state.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.518
retrieving revision 1.519
diff -u -3 -r1.518 -r1.519
--- e_border.c  20 Jul 2006 12:02:30 -0000      1.518
+++ e_border.c  29 Jul 2006 15:09:53 -0000      1.519
@@ -6657,6 +6657,12 @@
      }
    e_resize_end();
    resize = NULL;
+   
+   /* If this border was maximized, we need to unset Maximized state or
+    * on restart, E still thinks it's maximized */
+   if (bd->maximized != E_MAXIMIZE_NONE) 
+       e_hints_window_maximized_set(bd, bd->maximized & E_MAXIMIZE_NONE,
+                                    bd->maximized & E_MAXIMIZE_NONE);
    return 1;
 }
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to