Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_window_prop.c 


Log Message:
Added the de-iconify (request).
Please put it elsewhere if this is not the proper location, but this is what
the client must do one way or the other.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- ecore_x_window_prop.c       29 Mar 2004 21:10:48 -0000      1.39
+++ ecore_x_window_prop.c       7 Apr 2004 13:16:04 -0000       1.40
@@ -853,8 +853,13 @@
 
    switch (state) {
    case ECORE_X_WINDOW_STATE_ICONIFIED:
-      if (action != 1) /* Only "do iconify" makes sense */
-       return;
+      if (action == 0)
+      {
+        XMapWindow(_ecore_x_disp, win);
+        return;
+      }
+      if (action != 1)
+        return;
       xev.xclient.message_type = _ecore_x_atom_wm_change_state;
       xev.xclient.format = 32;
       xev.xclient.data.l[0] = IconicState;




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to