Re: KDE & fullscreen
Bj|rn Englund <[email protected]> Sun, 20 Jul 2003 19:07:32 +0200
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Sun Jul 20 2003, Martin Piskernig wrote:
> I just tested toggling fullscreen with KDE 3.1.2 and with the
> reparenting code in the source (which worked fine in older KDE
> releases) I now get occasional "Xlib unexpected async replies" which
> freezes okle. When I comment out the following lines in
> ogle/mpeg2_video/wm_state.c:
>
> if(wm_name != NULL && (strcmp(wm_name, "KWin") == 0) && kwin_bug) {
> //seems to work, instead of using a sleep(1);
> XReparentWindow( dpy, win, DefaultRootWindow( dpy ), 0, 0 );
> }
>
> those seem to be gone. So this bug seems to be resolved (as Lubos Lunak
> already said in the KDE bug report #52206 (bugs.kde.org)). Can you
> please comment out these lines in CVS?
>
Which version of kwin is this with?
I'd rather change the ogle script so it still works with older versions of kde.
The relevant part of the ogle script:
KDE_3_1_X=`kwin --version 2> /dev/null | grep KDE | grep "3.1."`
if [ x"$KDE_3_1_X" != x"" ]; then
KWIN_0_95=`kwin --version 2> /dev/null | grep KWin | grep "0.95"`
if [ x"$KWIN_0_95" != x"" ]; then
OGLE_KWIN_BUG=1
export OGLE_KWIN_BUG
fi
fi
So if this only is a problem in kde 3.1.0 and 3.1.1 then we
should just change the test for 3.1.0 and 3.1.1 instead of 3.1.x.
Is kwin still at 0.95?
/Björn