summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Cohen <benjamin.cohen@intel.com>2011-05-12 13:46:46 +0300
committerBenjamin Cohen <benjamin.cohen@intel.com>2011-05-12 13:46:46 +0300
commitb331015a71b6efab04fdc28aa175cd99f37e6beb (patch)
tree1e4160c25f2e350aa490fc913170c7deae469cc2
parent67b230125051750e63c07a2c9910f9daa0295703 (diff)
When moving a window to another desktop, make it lastActive for the destination
-rw-r--r--winii.ahk1
1 files changed, 1 insertions, 0 deletions
diff --git a/winii.ahk b/winii.ahk
index 38e82a0..de84cc0 100644
--- a/winii.ahk
+++ b/winii.ahk
@@ -94,6 +94,7 @@ SendToDesktop(windowID, newDesktop, remove)
if (remove)
{
RemoveWindowID(curDesktop, windowID)
+ lastActive%newDesktop% = %windowID%
}
}