]> Dogcows Code - chaz/tint2/commitdiff
Enable mouse motion events when the launcher is enabled
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Wed, 8 Jun 2011 16:54:36 +0000 (16:54 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Wed, 8 Jun 2011 16:54:36 +0000 (16:54 +0000)
src/panel.c

index 0c16ae3e3fc360d480097f85f381ef65a541a38d..becc2aa6596026d6d5bb30a8735d93dcc07d63e5 100644 (file)
@@ -199,7 +199,7 @@ void init_panel()
                p->main_win = XCreateWindow(server.dsp, server.root_win, p->posx, p->posy, p->area.width, p->area.height, 0, server.depth, InputOutput, server.visual, mask, &att);
 
                long event_mask = ExposureMask|ButtonPressMask|ButtonReleaseMask|ButtonMotionMask;
-               if (p->g_task.tooltip_enabled || p->clock.area._get_tooltip_text)
+               if (p->g_task.tooltip_enabled || p->clock.area._get_tooltip_text || p->launcher.area.on_screen)
                        event_mask |= PointerMotionMask|LeaveWindowMask;
                if (panel_autohide)
                        event_mask |= LeaveWindowMask|EnterWindowMask;
This page took 0.02246 seconds and 4 git commands to generate.