mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
clip: Do not display balloon with workspace name
When the mouse passes over the clip, wmaker would display a "odd" balloon
text with the workspace name, but the balloon itself was covered by the
clip icon!
So if the workspace name was short enough ("Internet" is, by my testing here)
the user wouldn't see anything, the balloon is completely under the clip icon.
I found this issue because one of my workspaces is called "Beyonder" and I
noticed a small "r" under the clip one day.
Instead of trying to fix this, I just removed the whole thing about displaying
the balloon because it is superfluous and I haven't seen any bug reports about
this yet, so it probably means most people are not even aware of it.
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
13
src/event.c
13
src/event.c
@@ -1155,19 +1155,6 @@ static void handleEnterNotify(XEvent * event)
|
||||
}
|
||||
}
|
||||
|
||||
/* a little kluge to hide the clip balloon */
|
||||
if (!wPreferences.flags.noclip && scr->flags.clip_balloon_mapped) {
|
||||
if (!desc) {
|
||||
XUnmapWindow(dpy, scr->clip_balloon);
|
||||
scr->flags.clip_balloon_mapped = 0;
|
||||
} else {
|
||||
if (desc->parent_type != WCLASS_DOCK_ICON || scr->clip_icon != desc->parent) {
|
||||
XUnmapWindow(dpy, scr->clip_balloon);
|
||||
scr->flags.clip_balloon_mapped = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (event->xcrossing.window == event->xcrossing.root
|
||||
&& event->xcrossing.detail == NotifyNormal
|
||||
&& event->xcrossing.detail != NotifyInferior && wPreferences.focus_mode != WKF_CLICK) {
|
||||
|
||||
Reference in New Issue
Block a user