[MPlayer-dev-eng] [PATCH] 2-Window New method fullscreen - Please test.

Fabian Franz FabianFranz at gmx.de
Wed Jul 28 01:01:09 CEST 2004


Am Mittwoch, 28. Juli 2004 00:43 schrieb Diego Biurrun:
> Fabian Franz writes:
> > Am Mittwoch, 28. Juli 2004 00:04 schrieb Diego Biurrun:
> > > Fabian Franz writes:
> > > > Am Dienstag, 27. Juli 2004 22:46 schrieb Diego Biurrun:
> > > > > Diego Biurrun writes:
> > > > > > Fabian Franz writes:
> > > > > > > attached patch adds 2-window method.
> > > > > >
> > > > > > Works fine for me with xfce 4.05.
> > > > >
> > > > > The problem is that it stops accepting key events after i
> > > > > have switched to another desktop, so there is no way to make it
> > > > > leave fullscreen mode.
> > > >
> > > > Yes, that at least should be solved by adding the attached patch.
> > >
> > > Hmm, not sure what you mean by add.  I applied it over the unmodified
> > > x11_common.c and the problem remains.  Or should it be applied on top
> > > of your other patch?
> > >
> > > > But I believe, that this will also remove key-control from WM.
> > >
> > > What exactly do you mean?  It works same as before for me, but I'm not
> > > sure if this is just a side-effect.
> >
> > Nope, I was wrong. :-)
> >
> > Attached patch (r3) tries to catch FocusEvents to make virutal desktops
> > work.
>
> Hmm, this removes the black rectangle after pressing Alt-Tab, but
> virtual desktops still do not work.

Hm, ok.

I'll need some debugging output. 

Please try the next attached patch.

If I change desktops in KDE, once to desktop 2 and back, I get:

[xevents] Fullscreen window lost focus.
[xevents] Video window got focus.
[xevents] Fullscreen window lost focus.
[xevents] Video window got focus.

The first three events are switching to the virtual desktop, the fourth one is 
switching back.

(This is explained by:

The fs-window is unmapped, the video-window gets focus, the fs-window looses 
focus again.

This is not so nice, yet and should be solved.)

cu

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-fs-3rdtry_r4.diff
Type: text/x-diff
Size: 6780 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040728/e5ea14ed/attachment.diff>


More information about the MPlayer-dev-eng mailing list