diff options
author | Florian Müllner <fmuellner@gnome.org> | 2016-10-27 21:04:38 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2016-10-28 17:10:57 +0200 |
commit | 385cce7b8e53215129e09b283000fc6ffaa1fcd7 (patch) | |
tree | f391162130c4b120e40de9c2504838f4f9f06051 | |
parent | 482a5816f3d86e772b1648229eddd79e90a4830b (diff) | |
download | mutter-385cce7b8e53215129e09b283000fc6ffaa1fcd7.tar.gz |
window-actor: Update mask on focus changes
We currently assume that the frame mask and -shape don't change with the
focus style. This is reasonable for the actual decoration, but not for
the window shadow that is expected to be more pronounced when focused.
We will eventually let the GTK+ theme draw the shadow of regular windows,
so update shape region and frame mask on focus changes.
https://bugzilla.gnome.org/show_bug.cgi?id=744667
-rw-r--r-- | src/compositor/meta-window-actor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 658a1779d..c3df284ff 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -284,6 +284,7 @@ window_appears_focused_notify (MetaWindow *mw, GParamSpec *arg1, gpointer data) { + meta_window_actor_update_shape (META_WINDOW_ACTOR (data)); clutter_actor_queue_redraw (CLUTTER_ACTOR (data)); } |