[metacity] compositor: remove unneeded check
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor: remove unneeded check
- Date: Mon, 6 Mar 2017 15:52:03 +0000 (UTC)
commit 0ace4ce8fc26ab328f41581b97e711fe03dda04e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Mar 6 17:14:12 2017 +0200
compositor: remove unneeded check
We do same check in meta_window_new.
src/compositor/meta-compositor-xrender.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index c254d35..58c85b2 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -2058,9 +2058,6 @@ add_win (MetaCompositorXRender *xrender,
MetaCompWindow *cw;
gulong event_mask;
- if (xwindow == xrender->overlay_window)
- return;
-
/* If already added, ignore */
if (find_window (xrender, xwindow) != NULL)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]