Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c 


Log Message:
Show root tooltips only after move.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -3 -r1.214 -r1.215
--- desktops.c  14 Dec 2005 18:21:23 -0000      1.214
+++ desktops.c  4 Jan 2006 18:58:59 -0000       1.215
@@ -1970,26 +1970,14 @@
    switch (ev->type)
      {
      case ButtonPress:
+     case ButtonRelease:
      case LeaveNotify:
        TooltipsSetPending(1, NULL, NULL);
        break;
 
-     case ButtonRelease:
-       if (ev->xbutton.subwindow == None)
-          goto do_set_pending;
-       break;
-
      case MotionNotify:
-       if (ev->xmotion.subwindow == None)
-          goto do_set_pending;
-       break;
-     case EnterNotify:
-       if (ev->xcrossing.mode == NotifyNormal &&
-           ev->xcrossing.detail == NotifyInferior)
-          goto do_set_pending;
-       break;
-
-      do_set_pending:
+       if (ev->xmotion.subwindow != None)
+          break;
        TooltipsSetPending(1, DeskGetAclass, dsk);
        break;
      }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to