[gtk+] x11: Set override_redirect on input-only windows
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: Set override_redirect on input-only windows
- Date: Mon, 7 Nov 2016 01:05:11 +0000 (UTC)
commit b7619a2603c62c955054fd8623ff61c4c1a9974a
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 6 15:43:06 2016 +0100
x11: Set override_redirect on input-only windows
b9955cfff1a2290c7826565049c934d237e9028f broke this.
gdk/x11/gdkwindow-x11.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 279c233..f003dc3 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -977,6 +977,14 @@ _gdk_x11_display_create_window_impl (GdkDisplay *display,
{
class = InputOnly;
+ if (window->window_type == GDK_WINDOW_TEMP)
+ {
+ xattributes.override_redirect = True;
+ xattributes_mask |= CWOverrideRedirect;
+
+ impl->override_redirect = TRUE;
+ }
+
depth = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]