BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 90 forks source link

wingo doesn't adapt to screen resolution change #69

Open cshapeshifter opened 11 years ago

cshapeshifter commented 11 years ago

When changing the screen resolution using xrandr like this:

xrandr --output eDP1 --mode 1024x768

then the windows extend to the right and below the bottom of the screen, as shown in the screenshot. This happens both for tiled windows, or when maximising a floating window. It's as if wingo were still working with a larger desktop.

This is a full-screen screenshot after changing the resolution, illustrating the problem:

2013-03-12-173715_1024x768_scrot

This does not happen when I use compiz instead.

alxzh commented 11 years ago

I had same issue. One monitor (main on laptop) has resolution 1080p and other one 1240x1024 (or something like this).

vendion commented 11 years ago

Same problem here, using xrandr to setup the screen resolution, could it be a matter of xrandr running too late? In my case the xrandr command is in the startup hook in the hooks.wini config.

BurntSushi commented 11 years ago

Sorry I haven't responded yet. I haven't had a chance to diagnose the exact bug yet, but I can think of two possible work arounds until I fix the bug:

BurntSushi commented 11 years ago

Thanks to @cskau, we have a temporary fix https://github.com/BurntSushi/wingo/pull/83.

This bug has to stay open until I get around to a proper fix.