X11: Include X Shape extension headers

Related to #1568.
This commit is contained in:
Camilla Löwy
2020-07-06 23:15:20 +02:00
parent e81d381256
commit 68e4261d73
4 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -2714,13 +2714,13 @@ void _glfwPlatformSetWindowMousePassthrough(_GLFWwindow* window, GLFWbool enable
{
Region region = XCreateRegion();
XShapeCombineRegion(_glfw.x11.display, window->x11.handle,
2/*ShapeInput*/, 0, 0, region, 0/*ShapeSet*/);
ShapeInput, 0, 0, region, ShapeSet);
XDestroyRegion(region);
}
else
{
XShapeCombineMask(_glfw.x11.display, window->x11.handle,
2/*ShapeInput*/, 0, 0, None, 0/*ShapeSet*/);
ShapeInput, 0, 0, None, ShapeSet);
}
window->mousePassthrough = enabled;