summaryrefslogtreecommitdiff
path: root/src/wnck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wnck.c')
-rw-r--r--src/wnck.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wnck.c b/src/wnck.c
index 0fae48e..b008c47 100644
--- a/src/wnck.c
+++ b/src/wnck.c
@@ -539,6 +539,16 @@ active_window_changed (WnckScreen *screen)
* since the image would have changed */
if (!update_window_decoration_size (d->win))
queue_decor_draw (d);
+
+ /* Also update any parents of this window
+ * since they won't get a notification here
+ */
+ if (d->transient_parent)
+ {
+ decor_t *d_parent = g_object_get_data (d->transient_parent, "decor");
+ queue_decor_draw (d_parent);
+ }
+
}
}
@@ -599,6 +609,15 @@ active_window_changed (WnckScreen *screen)
* since the image would have changed */
if (!update_window_decoration_size (d->win))
queue_decor_draw (d);
+
+ /* Also update any parents of this window
+ * since they won't get a notification here
+ */
+ if (d->transient_parent)
+ {
+ decor_t *d_parent = g_object_get_data (d->transient_parent, "decor");
+ queue_decor_draw (d_parent);
+ }
}
}
}