[Xfce-bugs] [Bug 14461] Segfault in XInternAtom when clicking or typing

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Jun 19 21:00:29 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14461

--- Comment #11 from alexxcons <acs82 at gmx.de> ---
Ah, much better .. think now it is more or less clear what's the Problem:

plugins/thunar-wallpaper/twp-provider.c:183:
....  
xfce_selection_atom = XInternAtom (gdk_x11_get_default_xdisplay(),
selection_name, False);
...


gdk_x11_get_default_xdisplay() does not work for wayland.

Wonder if it can be replaced by "gdk_display_get_default (void)" .. probably
not.  I dont run wayland, so I cannot test that.

A solution could be to check if it is set:
if (!GDK_IS_X11_DISPLAY(display)) return;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list