mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
Merge pull request #397 from ZoiteChat/fix-issue-392
Fix Wayland text selection crash
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -3172,7 +3172,7 @@ gtk_xtext_selection_get (GtkWidget * widget,
|
|||||||
if (!window || !GDK_IS_WINDOW (window))
|
if (!window || !GDK_IS_WINDOW (window))
|
||||||
break;
|
break;
|
||||||
display = gdk_window_get_display (window);
|
display = gdk_window_get_display (window);
|
||||||
if (!display)
|
if (!display || !GDK_IS_X11_DISPLAY (display))
|
||||||
break;
|
break;
|
||||||
GdkAtom encoding;
|
GdkAtom encoding;
|
||||||
gint format;
|
gint format;
|
||||||
|
|||||||
Reference in new issue
Block a user