On Fri, Feb 10, 2023 at 9:10 AM Marco wrote:
>
> What is the difference in the behaviour of the according to X?
> Is it a fault of mwm or XScreensaver?
I think XScreensaver must wait and ensure the windows is mapped and
viewable before sending the X_SetInputFocus request to it. Whether the
fix should be in XScreensaver or a graphics library, I don't know, but
I am sure Jamie can enlighten us. The problem didn't occur with
previous XScreensaver versions. This the backtrace (break on _exit):
#3 0x000055555556eb90 in x_error (dpy=0x555555605910, error=0x7fffffffd580)
at demo-Gtk.c:4258
#4 0x00007ffff6d03734 in _XError () at /lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007ffff6d00107 in () at /lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007ffff6d001a5 in () at /lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff6d0145d in _XReply () at /lib/x86_64-linux-gnu/libX11.so.6
#8 0x00007ffff6ceb54b in XInternAtom () at /lib/x86_64-linux-gnu/libX11.so.6
#9 0x00007ffff7ef76d4 in gdk_x11_atom_to_xatom_for_display ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#10 0x00007ffff7eeb65c in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#11 0x00007ffff7ef1989 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#12 0x00007ffff7ef1474 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#13 0x00007ffff7eb90e4 in gdk_display_get_event ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#14 0x00007ffff7ef10e6 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#15 0x00007ffff718e17d in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00007ffff718e400 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff718e4a3 in g_main_context_iteration ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff7501fe5 in g_application_run ()
at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x0000555555572752 in main (argc=2, argv=0x7fffffffdcc8) at demo-Gtk.c:5346
I saw a similar problem here: https://github.com/libsdl-org/SDL/issues/3949
Tormod