fixed issue 150

git-svn-id: http://tint2.googlecode.com/svn/trunk@199 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr 2009-09-27 07:44:41 +00:00
parent 2b10ed7460
commit f3c9534f9a

View file

@ -268,8 +268,7 @@ void event_button_press (XEvent *e)
Panel *panel = get_panel(e->xany.window);
if (!panel) return;
if (panel_mode == MULTI_DESKTOP)
task_drag = click_task(panel, e->xbutton.x, e->xbutton.y);
task_drag = click_task(panel, e->xbutton.x, e->xbutton.y);
if (wm_menu && !task_drag && !click_clock(panel, e->xbutton.x, e->xbutton.y) && (e->xbutton.button != 1) ) {
// forward the click to the desktop window (thanks conky)