Hi all,

I have experienced some problems when trying to go from fullscreen to
windowed mode with Xfce 4.3.99. The softdevice returns to windowed mode,
but the size is still almost as large as the screen, and when pressing
"f" again, nothing happens.

After experimenting a bit I found that everything works well, when I
comment the call to XReparentWindow(). So now I wonder what for, or if
at all, this call is needed? MPlayer doesn't have a this call, so I
would remove it unless it breaks things for other window managers...

Attached is a patch for those who want to try it :-)

Bye,

Martin
Index: video-xv.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/video-xv.c,v
retrieving revision 1.68
diff -u -r1.68 video-xv.c
--- video-xv.c  14 Dec 2006 22:31:57 -0000      1.68
+++ video-xv.c  12 Mar 2007 21:38:52 -0000
@@ -454,7 +454,7 @@
     e.xclient.data.l[1] = net_wm_STATE_FULLSCREEN;
   XSendEvent(dpy, DefaultRootWindow(dpy), False, SubstructureRedirectMask, &e);
 
-  XReparentWindow (dpy, win, DefaultRootWindow(dpy), x, y);
+  //XReparentWindow (dpy, win, DefaultRootWindow(dpy), x, y);
   XMoveResizeWindow (dpy, win, x, y, w, h);
 
   //XMapRaised (dpy, win);

_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to