[metacity] window: manage override-redirect windows
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] window: manage override-redirect windows
- Date: Sun, 5 Mar 2017 23:39:39 +0000 (UTC)
commit c656c658940de9ff394e8331f9af3a8a87f6c206
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 5 16:47:30 2017 +0200
window: manage override-redirect windows
src/core/window.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 86e419c..8bf451c 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 (attrs.override_redirect)
- {
- meta_verbose ("Deciding not to manage override_redirect window 0x%lx\n", xwindow);
- meta_error_trap_pop (display);
- meta_display_ungrab (display);
- return NULL;
- }
-
if (is_our_xwindow (display, xwindow, &attrs))
{
meta_verbose ("Not managing our own windows\n");
@@ -414,8 +406,6 @@ meta_window_new (MetaDisplay *display,
return NULL;
}
- g_assert (!attrs.override_redirect);
-
window = g_new (MetaWindow, 1);
window->constructing = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]