Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
events.c tooltips.c
Log Message:
Hide tooltips in various situations (showing focus list, window map, move,
etc.).
===================================================================
RCS file: /cvs/e/e16/e/src/events.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -3 -r1.141 -r1.142
--- events.c 7 Aug 2007 13:58:25 -0000 1.141
+++ events.c 3 Nov 2007 10:25:11 -0000 1.142
@@ -276,7 +276,7 @@
Mode.events.time = ev->xbutton.time;
ModeGetXY(ev->xbutton.root, ev->xbutton.x_root, ev->xbutton.y_root);
Mode.events.on_screen = ev->xbutton.same_screen;
- TooltipsSetPending(0, NULL, NULL);
+ TooltipsHide();
goto do_stuff;
case MotionNotify:
@@ -300,7 +300,7 @@
}
ModeGetXY(ev->xcrossing.root, ev->xcrossing.x_root,
ev->xcrossing.y_root);
- TooltipsSetPending(0, NULL, NULL);
+ TooltipsHide();
goto do_stuff;
case LeaveNotify:
@@ -314,7 +314,7 @@
}
ModeGetXY(ev->xcrossing.root, ev->xcrossing.x_root,
ev->xcrossing.y_root);
- TooltipsSetPending(0, NULL, NULL);
+ TooltipsHide();
goto do_stuff;
case PropertyNotify:
===================================================================
RCS file: /cvs/e/e16/e/src/tooltips.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- tooltips.c 10 Sep 2007 20:26:53 -0000 1.120
+++ tooltips.c 3 Nov 2007 10:25:11 -0000 1.121
@@ -699,6 +699,8 @@
{
ToolTip *tt;
+ TooltipsSetPending(0, NULL, NULL);
+
ECORE_LIST_FOR_EACH(tt_list, tt) TooltipHide(tt);
}
@@ -713,6 +715,7 @@
else
{
Mode_tooltips.inhibit++;
+ TooltipsHide();
}
}
@@ -771,8 +774,7 @@
Mode_tooltips.ac_func = func;
Mode_tooltips.ac_data = data;
- if (ttip)
- TooltipHide(ttip);
+ TooltipHide(ttip);
RemoveTimerEvent("TOOLTIP_TIMEOUT");
@@ -818,6 +820,7 @@
break;
case ESIGNAL_AREA_SWITCH_START:
case ESIGNAL_DESK_SWITCH_START:
+ case ESIGNAL_EWIN_CHANGE:
TooltipsHide();
break;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs