Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewmh.c 


Log Message:
Fiddling a bit with _NET_ACTIVE_WINDOW hint handling.
Focusclick on _NET_WM_WINDOW_TYPE_DOCK (?).
Clean compile of (normally disabled) debug stuff.

===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewmh.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewmh.c      22 May 2003 19:15:00 -0000      1.13
+++ ewmh.c      5 Jun 2003 09:00:39 -0000       1.14
@@ -580,6 +580,7 @@
        ewin->skiptask = 1;
        ewin->skipwinlist = 1;
        ewin->skipfocus = 1;
+       ewin->focusclick = 1;
        ewin->never_use_area = 1;
      }
    else if (atom == _NET_WM_WINDOW_TYPE_UTILITY)
@@ -660,9 +661,9 @@
    char               *name = XGetAtomName(disp, event->message_type);
 
    printf
-      ("EWMH_ProcessClientMessage: ev_type=%s(%d) ev_win=%#x data[0-3]= %08x %08x 
%08x %08x\n",
-       name, event->message_type, event->window, event->data.l[0],
-       event->data.l[1], event->data.l[2], event->data.l[3]);
+      ("EWMH_ProcessClientMessage: ev_type=%s(%d) ev_win=%#x data[0-3]= %08lx %08lx 
%08lx %08lx\n",
+       name, (unsigned)event->message_type, (unsigned)event->window,
+       event->data.l[0], event->data.l[1], event->data.l[2], event->data.l[3]);
    XFree(name);
 #endif
    EDBUG(6, "EWMH_ProcessClientMessage");
@@ -689,16 +690,11 @@
    if (event->message_type == _NET_ACTIVE_WINDOW)
      {
        if (ewin->iconified)
-         {
-            DeIconifyEwin(ewin);
-         }
-       else
-         {
-            RaiseEwin(ewin);
-            if (ewin->shaded)
-               UnShadeEwin(ewin);
-            FocusToEWin(ewin);
-         }
+          DeIconifyEwin(ewin);
+       RaiseEwin(ewin);
+       if (ewin->shaded)
+          UnShadeEwin(ewin);
+       FocusToEWin(ewin);
      }
    else if (event->message_type == _NET_CLOSE_WINDOW)
      {




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to