WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Mac OS X




 Page 1 of 1 [ 4 posts ] 



 
Author Message
 Post Posted: Sat May 05, 2012 8:51 am 
Offline
Level 3
Level 3

Joined: Sun Nov 28, 2010 7:22 pm
Posts: 96
I know this isn't technically a Wine problem or question, but I'm hoping someone else who uses wine on Mac OS X has already figured this out.

I just got Blades of Time and figured I'd try it out on Wine on Mac OS X to see if it works. Lo and behold, it works just fine on Wine 1.5.3 with raw3.patch.

The game changes the X screen resolution using xrandr, but when the game exits, it leaves the X server at the same resolution with the background completely black.

I issue a "xrandr -s 0" and the XQuartz returns to the correct native resolution. However, the black background is still there blocking my view of my desktop. I don't know if that's the root window or something else. I have to quit XQuartz to make the black background go away.

Does anyone know how to get rid of that black background after returning X to the correct native resolution?

Thanks in advance.


Top 
 Post subject:
 Post Posted: Sat May 05, 2012 9:17 am 
Offline
Level 2
Level 2

Joined: Fri Dec 03, 2010 6:55 am
Posts: 37
CMD + Q, followed by "Enter" should help you


Top 
 Post subject:
 Post Posted: Sat May 05, 2012 3:44 pm 
Offline
Level 8
Level 8

Joined: Tue Jul 14, 2009 1:21 pm
Posts: 1118
have you updated XQuartz lately?

to get the rootless window back you its not going to be -s 0 usually... you need to look through the xrandr list, but its going to be a resolution with the right X, but the Y will be 22 less than your actual Y. Say your screen is 1920x1200, the rootless resolution you want to switch back to will be 1920x1178... any other resolution and you have a black shielding window.


Top 
 Post subject:
 Post Posted: Sat May 05, 2012 5:03 pm 
Offline
Level 3
Level 3

Joined: Sun Nov 28, 2010 7:22 pm
Posts: 96
qparis wrote:
CMD + Q, followed by "Enter" should help you


Yes, that's what I've been doing, and I'd like to not have to do that.

Thanks, doh123, xrandr -s XRESxYRES-MENUBAR_HEIGHT did the trick. Adding that to my aliases now.

I was able to determine the exact dimensions using xdpyinfo.

A thousand thanks.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 4 posts ] 




Board index » WineHQ » Wine Help » Mac OS X


Who is online

Users browsing this forum: Google [Bot] and 0 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: