From cd939a6c1e000c4d4edc85e6e398a8cb344f943e Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 2 Oct 2014 11:02:50 +0200 Subject: [PATCH] Disable hack to listen compositing changes It seems now GNOME bug https://bugzilla.gnome.org/show_bug.cgi?id=563561 doesnt happen and disable this hack avoid to shuffle terminal windows when compositing is enabled/disabled --- src/terminal-window.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/terminal-window.c b/src/terminal-window.c index 71984ff..9b3aec4 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -1649,6 +1649,8 @@ terminal_window_state_event (GtkWidget *widget, return FALSE; } +#ifdef GDK_WINDOWING_X11 + static void terminal_window_window_manager_changed_cb (GdkScreen *screen, TerminalWindow *window) @@ -1663,12 +1665,11 @@ terminal_window_window_manager_changed_cb (GdkScreen *screen, gtk_action_set_sensitive (action, supports_fs); } -#ifdef GDK_WINDOWING_X11 - static void terminal_window_composited_changed_cb (GdkScreen *screen, TerminalWindow *window) { +#if 0 TerminalWindowPrivate *priv = window->priv; gboolean composited; @@ -1737,6 +1738,7 @@ terminal_window_composited_changed_cb (GdkScreen *screen, */ priv->clear_demands_attention = TRUE; } +#endif } #endif /* GDK_WINDOWING_X11 */