Leaving Fullscreen games loses folder sizes

Questions about Wine on Linux
Locked
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Leaving Fullscreen games loses folder sizes

Post by Bladeforce »

Hi, Just a quick question..

When I run some games in full screen, particularly ones from the Windows 98 era, if I have a folder open before I run the game then run the game when I exit some games seem to restore the desktop to my default but the folder all of a sudden becomes maximized.
I am guessing this is a fault with the game not exiting correctly or is it something in Wine?

Many thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Leaving Fullscreen games loses folder sizes

Post by dimesio »

It is a longstanding bug in X that is unlikely ever to be fixed. https://bugs.freedesktop.org/show_bug.cgi?id=14255
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: Leaving Fullscreen games loses folder sizes

Post by Bladeforce »

Ah thanks dimesio. I do remember some windows games actually exiting in the wrong resolution too in windows 98 to be honest
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Leaving Fullscreen games loses folder sizes

Post by etwineb »

My suggestion is start your program with a script like this:

Code: Select all

xrandr -s 1024x768
wine myprogram.exe
xrandr -s 0
Or even execute the program in a second X server:

Code: Select all

xinit /usr/bin/wine myprogram.exe -- :1
Locked