[mutter] window: Stop updating layers on focus changes
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Stop updating layers on focus changes
- Date: Wed, 6 Jul 2016 17:11:49 +0000 (UTC)
commit 5ee0f24ab90d457f3b53a32e96f89db816a98f0a
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Jul 6 18:49:46 2016 +0200
window: Stop updating layers on focus changes
Commit 3a4ae679ea398dba437b9750910b17891894899e removed the
FOCUSED_WINDOW layer definition but it was already unused for a long
time. There's no layers to update on focus changes.
https://bugzilla.gnome.org/show_bug.cgi?id=768221
src/core/window.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index cdd6360..4167628 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -4782,9 +4782,6 @@ meta_window_set_focused_internal (MetaWindow *window,
if (window->frame)
meta_frame_queue_draw (window->frame);
- /* move into FOCUSED_WINDOW layer */
- meta_window_update_layer (window);
-
/* Ungrab click to focus button since the sync grab can interfere
* with some things you might do inside the focused window, by
* causing the client to get funky enter/leave events.
@@ -4820,9 +4817,6 @@ meta_window_set_focused_internal (MetaWindow *window,
if (!window->attached_focus_window)
meta_window_appears_focused_changed (window);
- /* move out of FOCUSED_WINDOW layer */
- meta_window_update_layer (window);
-
/* Re-grab for click to focus and raise-on-click, if necessary */
if (meta_prefs_get_focus_mode () == G_DESKTOP_FOCUS_MODE_CLICK ||
!meta_prefs_get_raise_on_click ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]