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
master-1.22
Stefano Karapetsas 2014-10-02 11:02:50 +02:00
parent a6a5774c68
commit cd939a6c1e
1 changed files with 4 additions and 2 deletions

View File

@ -1649,6 +1649,8 @@ terminal_window_state_event (GtkWidget *widget,
return FALSE; return FALSE;
} }
#ifdef GDK_WINDOWING_X11
static void static void
terminal_window_window_manager_changed_cb (GdkScreen *screen, terminal_window_window_manager_changed_cb (GdkScreen *screen,
TerminalWindow *window) TerminalWindow *window)
@ -1663,12 +1665,11 @@ terminal_window_window_manager_changed_cb (GdkScreen *screen,
gtk_action_set_sensitive (action, supports_fs); gtk_action_set_sensitive (action, supports_fs);
} }
#ifdef GDK_WINDOWING_X11
static void static void
terminal_window_composited_changed_cb (GdkScreen *screen, terminal_window_composited_changed_cb (GdkScreen *screen,
TerminalWindow *window) TerminalWindow *window)
{ {
#if 0
TerminalWindowPrivate *priv = window->priv; TerminalWindowPrivate *priv = window->priv;
gboolean composited; gboolean composited;
@ -1737,6 +1738,7 @@ terminal_window_composited_changed_cb (GdkScreen *screen,
*/ */
priv->clear_demands_attention = TRUE; priv->clear_demands_attention = TRUE;
} }
#endif
} }
#endif /* GDK_WINDOWING_X11 */ #endif /* GDK_WINDOWING_X11 */