1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 13:28:05 +01:00

Not sure if I am correct, this removed delay of balloon mapping if mouse

is traveled between appicon and mini window.
This commit is contained in:
id
1999-08-03 15:24:02 +00:00
parent c15be3e163
commit b81ce0caa5

View File

@@ -340,7 +340,8 @@ miniwindowBalloon(WObjDescriptor *object)
scr->balloon->h = icon->core->height; scr->balloon->h = icon->core->height;
scr->balloon->text = wstrdup(icon->icon_name); scr->balloon->text = wstrdup(icon->icon_name);
scr->balloon->objectWindow = icon->core->window; scr->balloon->objectWindow = icon->core->window;
if (scr->balloon->prevType == object->parent_type if ((scr->balloon->prevType == object->parent_type
|| scr->balloon->prevType == WCLASS_APPICON)
&& scr->balloon->ignoreTimer) { && scr->balloon->ignoreTimer) {
XUnmapWindow(dpy, scr->balloon->window); XUnmapWindow(dpy, scr->balloon->window);
showBalloon(scr); showBalloon(scr);
@@ -374,7 +375,8 @@ appiconBalloon(WObjDescriptor *object)
scr->balloon->h = aicon->icon->core->height-2; scr->balloon->h = aicon->icon->core->height-2;
scr->balloon->objectWindow = aicon->icon->core->window; scr->balloon->objectWindow = aicon->icon->core->window;
if (scr->balloon->prevType == object->parent_type if ((scr->balloon->prevType == object->parent_type
|| scr->balloon->prevType == WCLASS_MINIWINDOW)
&& scr->balloon->ignoreTimer) { && scr->balloon->ignoreTimer) {
XUnmapWindow(dpy, scr->balloon->window); XUnmapWindow(dpy, scr->balloon->window);
showBalloon(scr); showBalloon(scr);
@@ -448,6 +450,8 @@ wBalloonEnteredObject(WScreen *scr, WObjDescriptor *object)
case WCLASS_DOCK_ICON: case WCLASS_DOCK_ICON:
if (object->parent != scr->clip_icon && wPreferences.appicon_balloon) if (object->parent != scr->clip_icon && wPreferences.appicon_balloon)
appiconBalloon(object); appiconBalloon(object);
else
wBalloonHide(scr);
break; break;
case WCLASS_MINIWINDOW: case WCLASS_MINIWINDOW: