diff options
Diffstat (limited to 'src/wnck.c')
-rw-r--r-- | src/wnck.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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); + } } } } |