Re: Prevent virtual desktop panning

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 12/29/04

  • Next message: ray: "Re: Can I Run Linux From a CD??"
    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
    

  • Next message: ray: "Re: Can I Run Linux From a CD??"

    Relevant Pages

    • Re: Prevent virtual desktop panning
      ... > Is there a way to prevent the virtual desktop from panning ... > gets very annoying when playing Starcraft in a 640x480 window ... > Starcraft scrolls out of view. ... and issue the required command. ...
      (comp.os.linux.x)
    • Re: wine, freebsd, starcraft
      ... >ever, just a frozen window. ... You might want to try to install starcraft on a windows machina, ... installed path) to your FreeBSD machine and run the game with wine. ...
      (freebsd-questions)