diff options
| author | JosJuice <josjuice@gmail.com> | 2026-11-14 15:51:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-14 15:51:27 +0100 |
| commit | 761713cec9ce883d9ef8ea9a2cf65b6f09e79932 (patch) | |
| tree | de7619f4c022084844a6e6c0a442b15a378d520c /Source/Core/Common | |
| parent | 44e0c5663af1b37f71bad7fb73281f4d0677bd51 (diff) | |
| parent | fc58424b3c3b8231c48208da2fd716c9d746c033 (diff) | |
Merge pull request #15012 from dokslade/gl-x11-event-mask
GLX11Window: Don't override the host's event mask on the parent window
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/GL/GLX11Window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Common/GL/GLX11Window.cpp b/Source/Core/Common/GL/GLX11Window.cpp index 1fb8c1935c..0bd8c0afe0 100644 --- a/Source/Core/Common/GL/GLX11Window.cpp +++ b/Source/Core/Common/GL/GLX11Window.cpp @@ -42,9 +42,8 @@ std::unique_ptr<GLX11Window> GLX11Window::Create(Display* display, Window parent Window window = XCreateWindow(display, parent_window, 0, 0, parent_attribs.width, parent_attribs.height, 0, vi->depth, InputOutput, vi->visual, CWColormap, &attribs); - XSelectInput(display, parent_window, StructureNotifyMask); XMapWindow(display, window); - XSync(display, True); + XSync(display, False); return std::make_unique<GLX11Window>(display, parent_window, color_map, window, parent_attribs.width, parent_attribs.height); |
