Re: [hatari-devel] Hatari window embedding issue |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari window embedding issue
- From: Jens Guenther <dbotw@xxxxxxx>
- Date: Sat, 19 Dec 2020 16:14:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1608390871; bh=qXxDTU0ZxVPPSeenpi/xYFGcN9od0c4m6KBmePQMG0w=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References; b=HIEVFNxK4qZukxuLxHjHf8afvLS5dJhHKnIdUa6tXCJXoQRTiOxq/LUeIsxNi5qwo zT/W8RuhOMd9TK3l8vXb80/+rE2p8+OCgTbVZBeAEbX3LPBcEBVKEYhAmntClE81eh bmjRjiCDe1TEz5rzxeNP7rheupuPj9O7unfdv3ic=
Hi,
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> Unfortunately I cannot reproduce it.
After testing various distros and SDL2 versions (2.0.5 - 2.0.12) on the
same machine (no VMs), it seems that the issue is reproducible when the
OpenBox window manager is used (default on "ArcoLinux" & "BunsenLabs").
With Desktop Environments like Cinnamon, MATE and Xfce it works without
showing the black area in "hatariui" when toggling fullscreen mode. But
sometimes "hatariui" loses focus and ignores key input events ...
To me this looks like some "synchronisation issue" when using XReparent
Window. On one machine an additional "XSync(display, false)" before the
XReparentWindow function seems to help ...
While testing, "Trisquel Flidas" (Ubuntu 16.04 LTS based) complains on:
monitor = Gdk.Display.get_default().get_primary_monitor()
Jens