Re: [hatari-users] hatariui

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


Hi,

On 11/18/2017 12:10 AM, Vincent Rivière wrote:
On 17/11/2017 at 21:35, Eero Tamminen wrote:
I.e. both SDL used by Hatari, and Gtk used by Hatari UI
need to be using X / XWayland, or things will fail:

xwininfo: Window id: 0x2800003 "Hatari UI v1.3"
xwininfo: Window id: 0x2a00013 "Hatari v2.0.0"

So I assume both windows use X.
On the other hand, xwininfo fails to give information for gedit, so I assume that one is pure Wayland.

If you run the following command to get hex ID of X window to which Hatari was requested to be re-parented:
	tr '\0' '\n' < /proc/$(pidof hatari)/environ |\
	  grep PARENT_WIN_ID |\
	  awk -F= '{printf("%s = 0x%x\n", $1, $2)}'

Does that match any of the Hatari UI windows:
	xwininfo -name "Hatari UI v1.3" -tree
?


In normal X, it does, and one sees the window in Hatari UI window tree:
-------------------------
PARENT_WIN_ID = 0x3a0002a
$ xwininfo -name "Hatari UI v1.3" -tree

xwininfo: Window id: 0x3a00003 "Hatari UI v1.3"

  Root window id: 0x88 (the root window) (has no name)
  Parent window id: 0x2606028 (has no name)
     2 children:
     0x3a0002a (has no name): ()  640x436+0+25  +19+103
        1 child:
0x3c0000d "Hatari v2.0.0": ("hatari" "hatari") 640x436+0+0 +19+103
     0x3a00004 (has no name): ()  1x1+-1+-1  +18+77
-------------------------


Also, remember that I have now an hybrid installation, with hatari binaries coming from Ubuntu packages, and Hatari UI parts coming from HG.

That shouldn't affect anything.


Anyway, that reparenting question is a minor issue. But be warned it can actually be a problem for newer systems.

Thanks again for testing!


	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/