LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-13-2009, 10:33 PM   #1
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Rep: Reputation: 15
Keep fullscreen Wine games from minimizing when unfocused?


I currently have a dual-monitor setup running NVidia Twinview on a GeForce GTX 280. My window manager is XFCE. When I run fullscreen games in Wine, they take up the whole primary monitor and when they don't capture the mouse, I can move freely to my other monitor to use whatever (Web browser or IM client usually). This is great, and pretty much seamless.

The problem comes when said game chooses to minimize itself when it loses focus. Not only does this not allow me to do something else while keeping an eye on some in-game activity, but often the act of minimizing/maximizing takes a little while and freezes up the UI until it finishes (depending on game).

Some examples of games that do this are Homeworld and the Half-Life 2 series. An example of a game that doesn't (thankfully) is Guild Wars.

I realize this is by design, for whatever reason, and Googling seems to reveal that there's not really a solution in Windows short of running the game in windowed mode if available. What I want to know is, can anyone think of a solution for Wine in Linux? It's certainly not a show-stopper, but is quite annoying especially when I get used to being able to smoothly transition in some games.

One possibility that I've thought of but not tried is to run two separate X servers instead of Twinview. I don't like that solution since for every other time, I want one seamless desktop, and don't particularly want to jump through some hoops to change modes whenever I want to play one of these games.

So, in the hopes that someone might be able to come up with something, I'm throwing this out there. Any suggestions?
 
Old 10-14-2009, 10:45 AM   #2
Einars
LQ Newbie
 
Registered: May 2009
Distribution: Slackware 14.2
Posts: 26

Rep: Reputation: 2
Have you tried Wine's virtual desktop option (in graphics tab in Winecfg tool)?
 
Old 10-14-2009, 02:00 PM   #3
the3dfxdude
Member
 
Registered: May 2007
Posts: 735

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
The problem you describe is how the game is designed. It expects exclusive mode on input devices or the screen, and when it doesn't have it, it thinks it needs to minimize.
 
Old 10-15-2009, 02:46 PM   #4
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Einars View Post
Have you tried Wine's virtual desktop option (in graphics tab in Winecfg tool)?
While this might work, it's not really any better than a game-supported windowed mode.

Quote:
Originally Posted by the3dfxdude View Post
The problem you describe is how the game is designed. It expects exclusive mode on input devices or the screen, and when it doesn't have it, it thinks it needs to minimize.
I realize this is by design (as I have stated), but since the game was also designed to run in Windows, and it is now not doing that either, that is by no means the end of it.

I was kind of hoping there would be some trick to make Wine or X or something be able to either pretend it isn't unfocusing the window, or to just prevent the minimize call the game makes to the window manager.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Games fullscreen is distorted, but video fullscreen is fine - older laptop xmrkite Linux - Software 7 07-20-2009 11:40 AM
cant run fullscreen in games gunman Linux - Software 0 03-16-2005 01:38 PM
Minimizing full screen games (like alt-tab in Windows) striderstrahan Linux - Games 1 11-24-2004 10:55 PM
Minimizing Full-screen programs and games striderstrahan Linux - Software 0 11-24-2004 12:30 AM
howto change resolution in X so in wine games are fullscreen? SciYro Linux - Software 2 07-07-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration