X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint.c;h=7e373a401351994cfd4ebdf40962bc5212383247;hb=067e29cba8a299728e6e2d9c029a049c753ae4ad;hp=1b4dc488906f67fe76d9e481ca5d0ef3dc20e565;hpb=ad92a56f453f1c0d50efc4a53754a60591b512b2;p=chaz%2Ftint2 diff --git a/src/tint.c b/src/tint.c index 1b4dc48..7e373a4 100644 --- a/src/tint.c +++ b/src/tint.c @@ -294,7 +294,11 @@ void event_button_press (XEvent *e) { Panel *panel = get_panel(e->xany.window); if (!panel) return; - +/* + if (wm_menu && (e->xbutton.button != 1) ) { + task_drag = click_task(panel, e->xbutton.x, e->xbutton.y); + if (!task_drag && !click_clock(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) ) {