mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-18 01:38:08 -06:00
Merge pull request #15012 from dokslade/gl-x11-event-mask
GLX11Window: Don't override the host's event mask on the parent window
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user