summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-02 11:02:50 +0200
committerStefano Karapetsas <[email protected]>2014-10-02 11:02:50 +0200
commitcd939a6c1e000c4d4edc85e6e398a8cb344f943e (patch)
treee2f67d3407a2a5ad696533480546d69e5a6dc1f2 /src/terminal-window.c
parenta6a5774c681f88ebc56b86e2492697549308c52a (diff)
downloadmate-terminal-cd939a6c1e000c4d4edc85e6e398a8cb344f943e.tar.bz2
mate-terminal-cd939a6c1e000c4d4edc85e6e398a8cb344f943e.tar.xz
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
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r--src/terminal-window.c6
1 files 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 */