Win32: Change transparent framebuffer key color

This is a temporary fix while we determine if the color key workaround
should be removed completely.  See issue thread for discussion.

Related to #1512.
This commit is contained in:
Camilla Löwy
2019-11-05 18:55:42 +01:00
parent 28d8507700
commit c88ee1c9d3
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ static void updateFramebufferTransparency(const _GLFWwindow* window)
// issue. When set to black, something is making the hit test
// not resize with the window frame.
SetLayeredWindowAttributes(window->win32.handle,
RGB(0, 193, 48), 255, LWA_COLORKEY);
RGB(255, 0, 255), 255, LWA_COLORKEY);
}
DeleteObject(region);