]> git.sur5r.net Git - i3/i3/commit
Bugfix: Force reconfiguration of all windows on workspaces which needed to be re...
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 9 May 2009 11:01:23 +0000 (13:01 +0200)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 9 May 2009 11:04:34 +0000 (13:04 +0200)
commit18da0a301750dc18d063ffeb6f95e484d46fef0d
tree54b8cf2c85c3deeb870216e7fa5b4e459cf26c95
parent89076ea7cf08fbc1d9dfc81b31a7da689bb9db34
Bugfix: Force reconfiguration of all windows on workspaces which needed to be re-assigned (Thanks Mirko)

When you disable a Xinerama screen (think of removing a video projector),
the workspaces of that screen need to be re-assigned to another screen.
Previously, the clients affected by this re-assignment did not get re-
configured, which made them appear on the next screen which got configured
at the position of the old one again if you did not switch to the reassigned
workspace before.

So, to reproduce it:
xrandr --output VGA --mode 1280x1024 --right-of LVDS
move windows to the new workspace
xrandr --output VGA --off
xrandr --output VGA --mode 1280x1024 --right-of LVDS

This fixes ticket #36
include/layout.h
include/util.h
src/commands.c
src/layout.c
src/util.c
src/xinerama.c