Doug Binks
ed12a54afd
Win32: Fix keypad equals key reported as unknown
...
Fixes #1315 .
Closes #1316 .
2018-08-30 13:47:54 +02:00
Camilla Löwy
338afe3c6d
X11: Clean up cursor shape translation
2018-08-30 13:47:54 +02:00
Camilla Löwy
b1b21292b9
X11: Clean up context lookup
2018-08-30 13:47:54 +02:00
Camilla Löwy
a67d8afbd4
Win32: Clean up DWM detection
2018-08-24 15:06:39 +02:00
Camilla Löwy
d4cbe451fc
Win32: Clean up cursor shape translation
2018-08-24 15:06:39 +02:00
Camilla Löwy
096ace5a68
Clarify comment
2018-08-24 15:06:39 +02:00
Camilla Löwy
f82a8f09eb
Win32: Disable mouse trails for full screen
...
When mouse trails are enabled, the cursor becomes invisible when the
OpenGL ICD detects a full screen window and switches to page flipping.
Mouse trails are now disabled as long as any full screen windows are
visible.
Fixes #1263 .
2018-08-02 00:01:26 +02:00
Doug Binks
0be4f3f75a
Add GLFW_FOCUS_ON_SHOW window hint and attribute
...
This adds a window hint and attribute for controlling whether
glfwShowWindow gives the specified window input focus in addition to
making it visible.
Fixes #1189 .
Closes #1275 .
2018-05-29 15:51:36 +02:00
Camilla Löwy
fdfb5ab466
Fix tpyo
2018-05-18 15:22:48 +02:00
Camilla Löwy
a9a5a0b016
Replace use of ctype function that caused warning
2018-05-18 11:30:14 +02:00
Camilla Löwy
8d1a64c831
X11: Make event polling more robust
...
This makes X11 event polling less likely to block if the application
uses the display via native access.
Fixes #1225 .
2018-05-17 14:41:16 +02:00
Camilla Löwy
15d89bdff6
Win32: Allow compile-time override of class name
...
To use, define _GLFW_WNDCLASSNAME to any sane wide string.
Fixes #1120 .
2018-05-16 17:15:02 +02:00
Camilla Löwy
7ef34eb06d
X11: Add support for Cygwin/X sonames
2018-04-25 21:50:51 +02:00
Camilla Löwy
c443b02472
Cleanup
2018-04-25 21:50:51 +02:00
Andreas Noever
fcc244ea6d
Win32: Fix windows build with WINVER >= Vista
...
In 32e78aeb2
the definition of DWM_BLURBEHIND in win32_platform.h was
moved behind a WINVER < 0x0600 preprocessor check (< Vista). This broke
the build for WINVER >= 0x0600 since DWM_BLURBEHIND is not defined.
Starting with Vista DWM_BLURBEHIND is available in Dwmapi.h.
So we can just include the header directly on Vista and above.
Closes #1253 .
2018-04-25 21:50:51 +02:00
Camilla Löwy
8b9221d845
X11: Fix missing dlclose calls for X extensions
2018-04-25 21:49:41 +02:00
Camilla Löwy
50eccd298a
Fix cursor mode application for unfocused windows
...
Fixes #1239 .
Fixes #1247 .
2018-04-25 21:49:26 +02:00
Camilla Löwy
819a2205e5
Cleanup
2018-04-12 03:27:06 +02:00
Greg V
0a3c4f5d80
Add support for Wayland on FreeBSD and other OSes
2018-03-27 22:03:37 +02:00
Camilla Löwy
2884915000
Cocoa: Set CAMetalLayer contents scale from window
...
Fixes #1229 .
2018-03-20 19:58:39 +01:00
Camilla Löwy
5f8108e8a9
Cocoa: Fix SDK version numbers
...
The pattern for version 10.10 and later was incorrectly applied to
version number for 10.8.
Fixes #1232 .
2018-03-20 01:03:37 +01:00
Camilla Löwy
94ffc12b38
Fix value for VK_MVK_macos_surface constant
...
Value changed between MoltenVK 0.15 and 0.16 and GLFW was never updated.
Related to #870 .
2018-03-03 22:07:54 +01:00
Camilla Löwy
ab3bfb4205
Cocoa: Update MoltenVK support for LunarG SDK
...
GLFW now checks for the libvulkan.1.dylib loader instead of what is now
the ICD. This removes checking for libMoltenVK.dylib to avoid cryptic
errors. This unfortunately also breaks compatibility with the
standalone MoltenVK SDK.
This also removes support for the static loader library as that is not
present in the LunarG SDK.
Related to #870 .
2018-03-01 21:45:46 +01:00
Emmanuel Gil Peyrot
8d98a6e37d
Add a FreeMonitor platform API
...
This fixes the leak of a wl_output object everytime a monitor is freed.
2018-03-01 08:31:54 +01:00
Camilla Löwy
77879736af
Cocoa: Event polling did not initialize AppKit
...
Fixes #1218 .
2018-03-01 02:23:27 +01:00
Emmanuel Gil Peyrot
0d4534733b
Wayland: Destroy subcompositor and viewporter on terminate
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
2926ce4838
Prevent resizing smaller than 1×1
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
a8e551cffa
Fix resizing and moving under xdg-shell
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
a0dbffb8f2
Set decorations as opaque, to optimise composition
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
dfc7eacd50
Do not leak the 1×1 buffer used for decorations
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
0c4ca85149
Fix _glfwPlatformSetWindowMonitor to correctly destroy/recreate decorations
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
c9d691e65e
Fix window size calculation when wp_viewporter isn’t supported
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
60e82ba472
Handle scaling factor (hidpi) correctly
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
f51c219b1c
Handle maximized size correctly
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
31cea7fa24
Remove decorations when fullscreen
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
58b21d336c
Factorise moving to fullscreen
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
8ed91e8a77
Only create decorations if wp_viewporter is supported
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
4e31dc5e6e
Make it possible to toggle window decorations
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
1f8ec20b55
Correctly destroy subsurfaces on window destroy
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
4a42364a19
Return correct values for frame size
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
9f7ec6b094
Implement window decorations
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
9dc18a62a6
Rename wl_pointer to pointer
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
5b65b9b860
Prevent a crash when giving focus to a non-GLFWwindow surface
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
552e40a4be
Add wl_subcompositor support
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
79e16baca3
Add wp_viewporter support
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
9a7656364e
Split shm buffer creation out of _glfwPlatformCreateCursor
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
2de3605b4c
Make createAnonymousFile static
2018-02-25 16:54:44 +01:00
Emmanuel Gil Peyrot
d6b9d00ceb
Wayland: Handle monitor removal
2018-02-24 22:18:39 +01:00
Emmanuel Gil Peyrot
f67b610dd4
Wayland: Handle repeats which missed a timer
2018-02-24 21:06:25 +01:00
Emmanuel Gil Peyrot
608f055c72
Wayland: Open the timerfd with cloexec
2018-02-24 21:06:25 +01:00