[metacity] window: stop updating layers on focus changes
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] window: stop updating layers on focus changes
- Date: Sat, 13 May 2017 07:24:20 +0000 (UTC)
commit 12c4f35ca5a6f596518d50b2b2c647608c3d3410
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Jul 6 18:49:46 2016 +0200
window: stop updating layers on focus changes
Commit 3c67fd1f8f634b235d3c2a53367f66542031e63f 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 bab13c2..839dc61 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -5921,9 +5921,6 @@ meta_window_set_focused_internal (MetaWindow *window,
XInstallColormap (window->display->xdisplay, window->colormap);
meta_error_trap_pop (window->display);
- /* 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.
@@ -5961,9 +5958,6 @@ meta_window_set_focused_internal (MetaWindow *window,
XUninstallColormap (window->display->xdisplay, window->colormap);
meta_error_trap_pop (window->display);
- /* 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]