[gnome-terminal] Bug 630163 - Set _NET_WM_DESKTOP on the new X window
- From: Chris Coulson <ccoulson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Bug 630163 - Set _NET_WM_DESKTOP on the new X window
- Date: Mon, 20 Sep 2010 16:19:18 +0000 (UTC)
commit ecc82420bc343e1ab2c8f4ff9e5a468efc1520b9
Author: Chris Coulson <chris coulson canonical com>
Date: Mon Sep 20 15:11:37 2010 +0100
Bug 630163 - Set _NET_WM_DESKTOP on the new X window
Set _NET_WM_DESKTOP on the new X window when handling composited-changed,
rather than the old window (which has already been destroyed)
src/terminal-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index a4a8767..6501c84 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1676,6 +1676,10 @@ terminal_window_composited_changed_cb (GdkScreen *screen,
/* put the window back where it was before */
gtk_window_move (GTK_WINDOW (window), x, y);
gtk_widget_realize (widget);
+
+ /* Get new GdkWindow */
+ widget_window = gtk_widget_get_window (widget);
+
gdk_x11_window_set_user_time (widget_window, user_time);
if (was_minimized)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]