diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2011-06-21 08:05:12 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2011-06-21 08:05:12 +0200 |
commit | ba40a52c6e39f578828f629c3d5fdc64f7c82036 (patch) | |
tree | 1a3f1baa211bd8000cbca36de79359530820b108 /config.h | |
parent | 1a99bd6c998b7a91f82b58563fd30a193469875b (diff) | |
download | mcwm-ba40a52c6e39f578828f629c3d5fdc64f7c82036.zip |
arrangewindows() rewritten. We already know the geometry of windows
since we track it all the time now.
Only call arrangewindows() when root window changes geometry if we
don't have RANDR. Otherwise, we call getrandr() when we get a
XCB_RANDR_SCREEN_CHANGE_NOTIFY event.
Added comments.
When a monitor gets a new mode in an RANDR scenario, we track the x,y
position and width,height.
If we lose a monitor, we add the windows on that monitor to another
monitor.
Diffstat (limited to 'config.h')
0 files changed, 0 insertions, 0 deletions