From: Thierry Lorthiois Date: Wed, 8 Jun 2011 16:54:36 +0000 (+0000) Subject: Enable mouse motion events when the launcher is enabled X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=648d947a48f77a223b2d715e56a62ee448a09121;p=chaz%2Ftint2 Enable mouse motion events when the launcher is enabled --- diff --git a/src/panel.c b/src/panel.c index 0c16ae3..becc2aa 100644 --- a/src/panel.c +++ b/src/panel.c @@ -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;