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.
This commit is contained in:
Daniel Déchelotte
2013-10-09 13:08:44 +01:00
committed by Carlos R. Mafra
parent 2e64831fb6
commit 4d74b18987
+1 -1
View File
@@ -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)