[mutter/wip/fmuellner/gtk-shadows: 4/8] window-actor: Update mask on focus changes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/fmuellner/gtk-shadows: 4/8] window-actor: Update mask on focus changes
- Date: Fri, 28 Oct 2016 15:13:34 +0000 (UTC)
commit 385cce7b8e53215129e09b283000fc6ffaa1fcd7
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 27 21:04:38 2016 +0200
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
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 658a177..c3df284 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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]