On Sun, 23 Jan 2005 21:02:09 -0800 Marc Wilson <[EMAIL PROTECTED]> wrote:
> On Sun, Jan 23, 2005 at 09:40:52PM +0200, Ciprian Popovici wrote:
> > Using -vo xv in mplayer, on a 16:9 movie. Attempting to go fullscreen
> > (via mplayer's 'f' key) produces a fullscreen with about a quarter of
> > the screen, at the lower part, missing. You can see the rest of the
> > screen and the windows on it in that zone. But if you use -fs and start
> > in fullscreen you can toggle all you want and it works fine.
> 
> What version of mplayer?  The mplayer folks introduced changes that
> played hell with NETWM-coompliant window managers and their support for
> _NET_WM_FULLSCREEN not too long ago.

It's 1.0pre5.

> And what action is mplayer ACTUALLY trying to use for fullscreen?  What
> happens if you tell it that it's not allowed to use _FULLSCREEN, for
> instance, and must use _ABOVE?

Cool, I didn't know about -fstype. Well, apparently the default hint order
it attempts to use is this:

layer,stays_on_top,above,fullscreen

And here's what mplayer gets with Blackbox, using the above default:

[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms

These defaults result in defective fullscreen attempts (the missing bottom
quarter I described). Who's around that uses the FULLSCREEN hint and
messes with mplayer? I'm thinking it's the root window...

The manpage recommends using -fstype -fullscreen for Openbox 1.x users. If
you do this, it means leaving NetWM with only ABOVE and BELOW honoured.
This allows me to go fullscreen properly, but it's too much: nothing can
come over mplayer anymore, which may not be desired (I for one have some
popup alert windows I'd like to see).

So it comes down to not honouring FULLSCREEN (so root can't mess up
mplayer), but we need to add LAYER, so we can see other windows. This means
-fstype layer,-fullscreen which leaves us with LAYER, ABOVE and BELOW. Of
course, if you do this, windows that use always-on-top will be seen all the
time (including fbpanel or the slit if they have a-o-t set).

So the final tweak was removing always-on-top from those two. For fbpanel
this means setdocktype=false in the config file. They still have struts, so
other windows will play nice even when maximized. But there's another
problem, when fbpanel is not dock it steals focus from windows when
changing workspace. :(

It would be wonderful if I could find a hint combo for mplayer that will
allow normal windows to come over it, but not always-on-top windows (I
want window popups, but not the slit with a-o-t). But I'm guessing that's
impossible.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to