[metacity] window: remove duplicated check for no_focus_window
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] window: remove duplicated check for no_focus_window
- Date: Sun, 5 Mar 2017 01:02:25 +0000 (UTC)
commit a01b8902394375f0ef01a7357e23f55cd64d9a45
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 5 00:50:00 2017 +0200
window: remove duplicated check for no_focus_window
We do same check in is_our_xwindow function.
src/core/window.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 3b4075b..682052d 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -297,14 +297,6 @@ meta_window_new (MetaDisplay *display,
meta_verbose ("Attempting to manage 0x%lx\n", xwindow);
- if (meta_display_xwindow_is_a_no_focus_window (display, xwindow))
- {
- meta_verbose ("Not managing no_focus_window 0x%lx\n", xwindow);
- meta_error_trap_pop (display);
- meta_display_ungrab (display);
- return NULL;
- }
-
if (attrs.override_redirect)
{
meta_verbose ("Deciding not to manage override_redirect window 0x%lx\n", xwindow);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]