From 4d74b1898746beaef338ac28973bb787c9face41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20D=C3=A9chelotte?= Date: Mon, 7 Oct 2013 23:49:23 +0200 Subject: [PATCH] Allow undocking appicon when Alt is pressed When moving an undocked appicon (or applet), allow it to be docked even if Alt is still pressed That conforms to pre-9fae35fbc4 behavior. --- src/appicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appicon.c b/src/appicon.c index 0a5d6e6d..4ccd3a42 100644 --- a/src/appicon.c +++ b/src/appicon.c @@ -875,7 +875,7 @@ Bool wHandleAppIconMove(WAppIcon *aicon, XEvent *event) wAppIconMove(aicon, x, y); WDock *theNewDock = NULL; - if (!(ev.xmotion.state & MOD_MASK) || aicon->launching || aicon->lock) { + if (!(ev.xmotion.state & MOD_MASK) || aicon->launching || aicon->lock || originalDock == NULL) { for (i = 0; dockable && i < scr->drawer_count + 2; i++) { WDock *theDock = allDocks[i]; if (theDock == NULL) -- 2.11.4.GIT