]> git.sur5r.net Git - i3/i3/commit
huge change: implement RandR instead of Xinerama
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 11:47:21 +0000 (12:47 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 11:47:21 +0000 (12:47 +0100)
commit818e02ef3545b000e104b79cf52610ac0f1765cd
tree6129f5a6744a1cebb9f9bcfe0b70a2157671d952
parent6f72970ece75a12913d2009e6f02946073772ab1
huge change: implement RandR instead of Xinerama

Thanks to Merovius for doing a proof of concept on this one and
being a driving force behind the idea.

Using RandR instead of Xinerama means that we are now able to use
the full potential of the modern way of configuring screens. That
means, i3 now has an idea of the outputs your graphic driver
provides, which allowed us to get rid of the ugly way of detecting
changes in the screen configuration which we used before. Now, your
workspaces should not be confused when changing output modes anymore.

Also, instead of having ugly heuristics to assign your workspaces
to (the screen at position X or the second screen in the list of
screens) you will be able to just specify an output name.

As this change basically touches everything, you should be prepared
for bugs. Please test and report them!
21 files changed:
common.mk
include/data.h
include/handlers.h
include/layout.h
include/randr.h [new file with mode: 0644]
include/workspace.h
include/xinerama.h [deleted file]
src/click.c
src/commands.c
src/debug.c
src/floating.c
src/handlers.c
src/layout.c
src/mainx.c
src/manage.c
src/randr.c [new file with mode: 0644]
src/resize.c
src/sighandler.c
src/util.c
src/workspace.c
src/xinerama.c [deleted file]