[MPlayer-dev-eng] [PATCH] x11 fullscreen switching

Alex Beregszaszi alex at fsn.hu
Thu Aug 14 00:00:37 CEST 2003


Hi,

> this patch implements negating support for -fstype options.
> Also it disables the old openbox hack, becouse it breaks fullscreen
> switching with newer openbox versions (2.x? & 3.x) and the 1.x are
> rarely used. From now on, openbox 1.x users _must_ provide '-fstype
> !fullscreen' to achive working fs switching. This _must_ be documented
> if the patch gets applied. Please, someone familiar with that code:
> read it, apply it, comment it!!

Here are coming two patches!

x11_common.c2.diff -- this is the initial patch changed as Filip
suggested
x11_common.c3.diff -- this is the same as c2 + it extends -fstype

Now you can add a list of options, like:
-fstype fullscreen,above,-stays_on_top,below,layer=1

And you will get a nice message, reporting what you actually did:
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X
atoms

Also this messages always get's displayed, not only when tweaking with
-fstype, so it should print the abilities of the detected wm too.

P.S.: please don't CC me.

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x11_common.c2.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030814/b150ae38/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x11_common.c3.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030814/b150ae38/attachment.txt>


More information about the MPlayer-dev-eng mailing list