
What's the best window setting for fullscreen games with xmonad? I want tiling most of the time, but for fullscreen games I'd prefer to have xmonad keep its hands off. But if I use doFloat, then my game is almost fullscreen but has an ugly red border around it (I like the border when I'm using tiled windows, just not for fullscreen games, otherwise I'd just disable it entirely), and if I use doIgnore, then my game gets mouse focus but not keyboard focus. Neither option is optimal. Is there a way to disable the border on a per window basis, or to make it give an ignored window keyboard focus before ignoring it, or some other clever hack?

On Sun, Feb 1, 2009 at 12:14 PM, Joseph Garvin
What's the best window setting for fullscreen games with xmonad? I want tiling most of the time, but for fullscreen games I'd prefer to have xmonad keep its hands off. But if I use doFloat, then my game is almost fullscreen but has an ugly red border around it (I like the border when I'm using tiled windows, just not for fullscreen games, otherwise I'd just disable it entirely), and if I use doIgnore, then my game gets mouse focus but not keyboard focus. Neither option is optimal. Is there a way to disable the border on a per window basis, or to make it give an ignored window keyboard focus before ignoring it, or some other clever hack?
The strategy in my xmonad.hs (on the wiki) is that first, I use smartBorders, so full-screen programs have no border. Secondly, I unfloat the games I play, since otherwise they would be floated and have a border. This way, the workspace a game is open on is not paralyzed by the floating fullscreened game, and I avoid any border issues. -- gwern

On Sun, Feb 1, 2009 at 6:14 PM, Joseph Garvin
What's the best window setting for fullscreen games with xmonad? I want tiling most of the time, but for fullscreen games I'd prefer to have xmonad keep its hands off. But if I use doFloat, then my game is almost fullscreen but has an ugly red border around it (I like the border when I'm using tiled windows, just not for fullscreen games, otherwise I'd just disable it entirely), and if I use doIgnore, then my game gets mouse focus but not keyboard focus. Neither option is optimal. Is there a way to disable the border on a per window basis, or to make it give an ignored window keyboard focus before ignoring it, or some other clever hack? _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
I use a special workspace for movies and fullscreen apps using onWorkspace function, something like that on layoutHook: onWorkspace "multimedia" ( noBorders Simplest ) -- LC, ("Premature optimization is the root of all evil." - Donald E. Knuth)
participants (3)
-
Gwern Branwen
-
Joseph Garvin
-
Luis Cabellos