]> 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:01:23 +0000 (13:01 +0200)
commitd24e47a0f3225f1f17194a589a39674f5a5be3d0
tree38116bef46031627b474f95d7b92c17452b1156e
parent8c6c4270a9dc6cfb8e9767e790507e23c91b5654
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