Re: Prevent virtual desktop panning
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 12/29/04
- Previous message: TCS: "Re: Can I Run Linux From a CD??"
- Next in thread: Niklas Ramsberg: "Re: Prevent virtual desktop panning"
- Reply: Niklas Ramsberg: "Re: Prevent virtual desktop panning"
- Maybe reply: Michael C.: "Re: Prevent virtual desktop panning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Dec 2004 16:51:41 GMT
On 29 Dec 2004 08:03:29 GMT, Niklas Ramsberg staggered into the Black
Sun and said:
> Is there a way to prevent the virtual desktop from panning when I move
> the mouse pointer out of the current view area? It gets very annoying
> when playing Starcraft in a 640x480 window with the visible screen set
> to the same resolution (the virtual desktop is at 1400x1280 IIRC). As
> soon as I happen to move the mouse outside the visible screen, the the
> window with Starcraft scrolls out of view.
The virtual screen behavior you describe (and hate) is by design. The
typical solution is to use xrandr to set the root window size to YxZ,
play your game, and use xrandr to set the root window size to whatever
it was before after the game exits. SDL can do this or something like
it with a few lines of C, but I'm guessing Starcraft doesn't use SDL.
Are you running Starcraft with Wine?
> I can't run Starcraft fullscreen because that messes up my KDE desktop.
What? Details, please.
> I'm using Fedora Core2 with xorg 6.6 (IIRC) and KDE 3.2 but I'm
> willing to try another desktop manager if necessary. I've googled for
> an answer but nothing turned up.
KDE has little or nothing to do with this; the virtual screen behavior
is part of X, not whatever window manager you're running.
-- I went to edit my info to change "system administrator type dude" to "porn star for hire", but all I got was a threat. --MegaHAL, trained on Netizen's quotes file There is no Darkness in Eternity/But only Light too dim for us to see
- Previous message: TCS: "Re: Can I Run Linux From a CD??"
- Next in thread: Niklas Ramsberg: "Re: Prevent virtual desktop panning"
- Reply: Niklas Ramsberg: "Re: Prevent virtual desktop panning"
- Maybe reply: Michael C.: "Re: Prevent virtual desktop panning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|