[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fullscreen apps (in X) - windowmanager support?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Nov 14, 2000 at 10:22:23AM -0500, Andrew Sullivan wrote:
> On Tue, Nov 14, 2000 at 04:35:12PM +0200, Hugo van der Merwe wrote:
> 
> > The best way (as far as I know the only way) to get an app to full
> > screen in X, is to drop the resolution (assuming you have many modelines
> > defined) to the resolution of the app, or the smalelst resolution a
> > little larger, then to "position" the display correctly. The big problem
> > is accidently moving the mouse, and thereby shifting the screen.
> 
> No.  Most window managers have a function, "Maximize", built into
> them.  This will usually give you the window the full size of the
> screen.  (You still have the mouse-off-the-edge problem: see more
> below).  If Window Maker doesn't do that, AfterStep (which can be
> visually similar and which supports most WM applets) certainly does,
> and by default.  The AS deb in woody is pretty good (there are still
> a few issues with menus that I haven't sorted out, but that could be
> my fault, and I haven't spent any time on it), and it seems to work
> just fine on potato.

I don't think that's quite what Hugo was looking for.  I've run in to
his problem myself, particularly with the game Maelstrom.  Maelstrom
runs at 640x480.  Maximizing the window doesn't change that, you merely
get a full-screen black window with a little 640x480 section in the
center in which the game is displayed.  The only way to have the actual
game take up the full screen is to change the display resolution to
640x480 and move the mouse around until the Maelstrom window is the only
portion of the larger "virtual desktop" that can be seen.

I don't think there's a better way to do this, as Hugo suspected.  If
you could easily move the mouse using script commands, you could
probably write something to parse the output of xwininfo and move the
mouse to a corner of a given window.  But this doesn't help the problem
of accidentally moving the mouse outside the window, causing the window
to go flying off your screen as you scroll around your virtual desktop.

noah
- -- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6EtLUYrVLjBFATsMRAuHZAJ43t7tOp+4vU9MUMMBKuPPm2hoZsgCdH7cK
FHR++7hPLrU9TPGD7z6uT74=
=e1/D
-----END PGP SIGNATURE-----



Reply to: