[openbox] patch for NET_WM_STATE_FULLSCREEN support in openbox 2.3
Ben Jansens
ben at orodu.net
Mon Mar 17 16:41:28 EST 2003
On Mon, Mar 17, 2003 at 11:15:47AM +0100, Arwed von Merkatz wrote:
> On Sun, Mar 16, 2003 at 11:12:20PM -0800, Marc Wilson wrote:
> > And having tried the patch, xawtv is still not able to shift screen modes.
> > The window DOES maximize now, and the decorations go away, but that's all.
> > I think that might be an xawtv-ism, though... it might not shift if it
> > finds NETWM. I tried to read it again and got a headache again.
> >
> > Also, it looks like the patch tries to take into account the size of the
> > window frame, but after it turns off decorations, you can still see the
> > root window at the top and the left. :)
>
> That may be sillyness on my part, and the fact that i still don't
> understand completely how the code works.
I think what you want to do is use:
frame.rect.left() - frame.margin.left
frame.rect.top() - frame.margin.top
frame.rect.width() + frame.margin.left + frame.margin.right
frame.rect.height() + frame.margin.top + frame.margin.bottom
for the call to configure when going to fullscreen :)
> Here are some apps that work with the patch but not without it:
> - gthumb (checks for NET_WM_STATE_FULLSCREEN support, if not present uses
> its own fullscreen code, if present just sets the atom)
> - galeon/epiphany
Ben
--
I am damn unsatisfied to be killed in this way.
http://www.icculus.org/openbox/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20030317/7766a4e9/attachment.pgp>
More information about the openbox
mailing list