Toggle something after Execute / Ignore Fullscreen

Mads Martin Joergensen mmj at panther.mmj.dk
Fri Nov 7 09:56:03 EST 2003


Hi,

I have a keybind for BZFlag (best game ever :), normaly it runs in
fullscreen mode. That has the effect that i cant use any other keybind
anymore. Sure, thats how it should work says the EWMH/NetWM spec.

_But_ i want to control e.g. xmms with other keybinds even if BZFlag
runs in fullscreen. So i thought i run it maximized to the geometry of
my Desktop (-window --geometry 1280x1024). But then it has ob
decorations that i dont want. The decos have also the effect that the
BZFlag window does not fit the desktop anymore.

So what i search at the moment is a way to start something with Execute
and turn decorations off afterwards (with one keybinding). With a nested
action in a keybind that does not work because the ToggleDecorations
action uses the currently focused window and not the new window from the
Exectue action.

I thought wmctrl might help but that can only change stuff which is in
_NET_WM_STATE and decorations are windowmanager specific. 

I need obctrl to change openbox specific stuff from the commandline i
guess :)

P.S I know i could start bzflag with -geometry 1280x1020 and live with
the title bar, or create another keybind to toggle decorations but im
curious if there is another way.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.



More information about the openbox mailing list