Sometimes when I play games that use a resolution different from my normal X display, the windows on my workspace get shifted over toward the upper left. It's an issue that's been happening for a long while and I'm not sure if this is more of a general X issue or something specific to wine. As far back as I remember, it only happens with wine (0.x-0.9, 1.0, 1.1) and I've seen it in different window managers (openbox, sawfish).
Anyone experience something similar? Is there any way to stop it?
Resolution changes sometimes rearranging desktop
I know what you mean, the same is happening whenever I set my screen resolution to something low with xrandr or lxrandr. It seems to be a window manager issue and is regarded as a feature; all your icons are rearranged so they're visible on the screen in your current resolution.
Kind of annoying, wish they'd add an option in window managers to disable it.
Kind of annoying, wish they'd add an option in window managers to disable it.
Re: Resolution changes sometimes rearranging desktop
By default Wine uses xrandr which really does change screen and desktop resolution. This forces all windows to rearrange.superlgn wrote:Anyone experience something similar? Is there any way to stop it?
You can disable xrandr via registry and use xvidmode instead (enabled by default but xrandr used instead if available). The only side-effect of using XVidMod is mouse can "escape" outside of game window and scroll display. Just try it and see if it works for you.
http://wiki.winehq.org/UsefulRegistryKeys
Thanks for the info.. I vaguely recall seeing the scrolling thing with FarCry, which is something I would have probably played in the early 0.9 days. If that's the result, I'd rather not change anything.
Like I said earlier, it doesn't happen all the time and manually using xrandr (xrandr -s 800x600) doesn't trigger it. It's just one of those things that's always bothered me and I thought I'd ask, guess I'll just have to keep dealing..
I wonder if removing all other X modes except for the native resolution for my lcd would be a way to stop it. That would just be for the first run of the game, until I could crank the resolution up. Having a quick and easy reproducible test case would be a place to start. Is there a particular xrandr command (some option) that's known to cause this?

I wonder if removing all other X modes except for the native resolution for my lcd would be a way to stop it. That would just be for the first run of the game, until I could crank the resolution up. Having a quick and easy reproducible test case would be a place to start. Is there a particular xrandr command (some option) that's known to cause this?