This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 4734decdbd2555023ae7775cb97d8589666baa21
Author: Igor <[email protected]>
Date:   Fri Aug 26 16:14:17 2016 +0300

    Attempt to fix crash under wayland session
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1369594
---
 terminal/terminal-window.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 94c87cd..720fe9a 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -419,9 +419,12 @@ terminal_window_init (TerminalWindow *window)
   window->action_fullscreen = gtk_action_group_get_action 
(window->action_group, "fullscreen");
 
 #if defined(GDK_WINDOWING_X11)
-  /* setup fullscreen mode */
-  if (!gdk_x11_screen_supports_net_wm_hint (screen, gdk_atom_intern 
("_NET_WM_STATE_FULLSCREEN", FALSE)))
-    gtk_action_set_sensitive (window->action_fullscreen, FALSE);
+  if (GDK_IS_X11_SCREEN (screen))
+    {
+      /* setup fullscreen mode */
+      if (!gdk_x11_screen_supports_net_wm_hint (screen, gdk_atom_intern 
("_NET_WM_STATE_FULLSCREEN", FALSE)))
+        gtk_action_set_sensitive (window->action_fullscreen, FALSE);
+    }
 #endif
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to