From 248bfb0e9578cce12efacc755cbac273b72bd6e0 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 21 Oct 2008 17:57:10 +0200 Subject: [PATCH] event: reset wibox widget mouse_over on leave Signed-off-by: Julien Danjou --- event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/event.c b/event.c index 8faff33a4..d5f4228a7 100644 --- a/event.c +++ b/event.c @@ -394,6 +394,7 @@ event_handle_leavenotify(void *data __attribute__ ((unused)), /* call mouse leave function on widget the mouse was over */ luaA_wibox_userdata_new(globalconf.L, wibox); luaA_dofunction(globalconf.L, wibox->mouse_over->mouse_leave, 1, 0); + wibox->mouse_over = NULL; } return 0;