mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 12:12:16 +00:00
x11_window: don't map the window when announcing Xdnd
This commit is contained in:
parent
3ca9bb420a
commit
ca54d3bdab
@ -289,7 +289,6 @@ static GLboolean createWindow(_GLFWwindow* window,
|
|||||||
// Enable Xdnd
|
// Enable Xdnd
|
||||||
{
|
{
|
||||||
//Announce XDND support
|
//Announce XDND support
|
||||||
XMapWindow(_glfw.x11.display, window->x11.handle);
|
|
||||||
Atom XdndAware = XInternAtom(_glfw.x11.display, "XdndAware", False);
|
Atom XdndAware = XInternAtom(_glfw.x11.display, "XdndAware", False);
|
||||||
Atom version=5;
|
Atom version=5;
|
||||||
XChangeProperty(_glfw.x11.display, window->x11.handle, XdndAware, XA_ATOM, 32, PropModeReplace, (unsigned char*)&version, 1);
|
XChangeProperty(_glfw.x11.display, window->x11.handle, XdndAware, XA_ATOM, 32, PropModeReplace, (unsigned char*)&version, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user