Camilla Berglund
28d4c9e9f4
X11: Re-enable cursor for all types of FocusOut
...
This prevents disabled cursor mode from interfering with window frame
interactions.
Related to #650 .
2016-05-31 13:04:04 +02:00
Camilla Berglund
ed076b7c5b
Win32: Re-enable cursor during modal loops
...
Related to #650 .
2016-05-31 12:59:41 +02:00
Camilla Berglund
915a98c560
Add missing XFlush calls
2016-05-30 22:14:13 +02:00
Camilla Berglund
2d2756cbad
Simplify cursor window logic
2016-05-30 22:12:33 +02:00
Camilla Berglund
03db3ed6e9
Cleanup
2016-05-30 21:19:00 +02:00
Camilla Berglund
bda031f4ac
Cleanup
2016-05-29 15:34:08 +02:00
Camilla Berglund
797ee8d8e3
Move all cursor positioning to platform code
...
Due to Wayland, shared code cannot rely on cursor positioning being
supported by the underlying platform.
This implicitly fixes #617 as it moves cursor centering into
_glfwPlatformSetCursorMode, thus separating it from the stale value of
_glfw.cursorWindow.
Fixes #617 .
2016-05-29 15:33:49 +02:00
Camilla Berglund
0e846883bf
Clarify cursor position variable names
2016-05-27 02:39:03 +02:00
Camilla Berglund
72b3a7a59f
Move comment to the actual line being discussed
2016-05-27 02:39:03 +02:00
Camilla Berglund
32f38b97d5
Fix OS X key names not following layout
2016-05-24 22:12:15 +02:00
Camilla Berglund
7fd7dca375
Remove completed todo
2016-05-23 22:59:11 +02:00
Camilla Berglund
edb284f189
Add more argument value checks
2016-05-23 15:23:14 +02:00
Camilla Berglund
54cb23d234
Fix value checks failing on GLFW_DONT_CARE
2016-05-23 15:23:14 +02:00
Camilla Berglund
c4c99727c5
Add dynamic loading of HIToolbox.framework
...
Fixes #717 .
2016-05-23 15:21:56 +02:00
Camilla Berglund
57f4ba7b37
Add basic argument checks for glfwSetWindowMonitor
2016-05-23 15:19:09 +02:00
Camilla Berglund
cd49efa84e
Enable Cocoa multi-threaded mode
2016-05-22 14:02:29 +02:00
Camilla Berglund
bc649e1632
Formatting
2016-05-11 15:23:27 +02:00
ocornut
3c1a83d61f
Fix keys filtered by IME being passed to callback
...
Closes #651 .
2016-05-10 12:30:04 +02:00
Brandon Schaefer
4eb7cbac47
Mir: Remove workaround for LP bug 1477285
...
Closes #756 .
2016-05-05 14:22:57 +02:00
linkmauve
a502152075
wayland: Always make the window surface opaque
2016-05-05 14:15:44 +02:00
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
9d50a346f0
Fix X11 build on non-Linux systems
2016-05-04 17:00:06 +02:00
Camilla Berglund
12a695696d
Add validation of size limit and aspect ratio args
2016-05-04 16:34:52 +02:00
Camilla Berglund
e640d840b7
Fix Win32 window size event race condition
...
The old window size was reported after re-entering full screen and
setting and reporting the new window size.
Fixes #740 .
2016-05-04 16:34:48 +02:00
Camilla Berglund
11d051b69a
Formatting
2016-05-03 13:43:17 +02:00
Camilla Berglund
932a161d44
Unconditionally use some EWMH atoms
...
These window properties do no harm if they're declared even if the WM
doesn't support them. This makes GLFW slightly more tolerant of WM
changes as well as things like Ubuntu Unity reading _NET_WM_ICON without
declaring support for it.
2016-05-03 13:40:53 +02:00
Camilla Berglund
211bdab51f
Fix NET_WM_STATE clobbering at creation
2016-05-03 13:40:53 +02:00
Camilla Berglund
6fcedb5396
Fix GLFW_RESIZABLE on X11 when exiting full screen
...
The WM normal hints were set with the wrong window dimensions.
Fixes #737 .
2016-05-03 13:40:34 +02:00
bschaefer
e44fd87fa3
Mir: Fix button states
2016-05-02 21:59:57 +02:00
bschaefer
f000b5daff
Mir: Fix window/context creation order
...
Need to create the native window before creating the context as creating
the context creates the EGL surface.
2016-05-02 21:58:54 +02:00
Emmanuel Gil Peyrot
1e82832737
wayland: Report unsupported operations as errors
2016-05-02 21:49:57 +02:00
Emmanuel Gil Peyrot
c301a1e51a
wayland: Implement remaining attribute getters
2016-05-02 21:49:31 +02:00
Emmanuel Gil Peyrot
e673bdc617
wayland: Implement maximized state
2016-05-02 21:49:27 +02:00
Emmanuel Gil Peyrot
71cedc6cfe
wayland: Implement glfwSetWindowMonitor
2016-05-02 21:49:23 +02:00
Emmanuel Gil Peyrot
5034c6c65e
wayland: Handle hidden window as no shell surface
2016-05-02 21:47:21 +02:00
Emmanuel Gil Peyrot
f0f5d9f644
wayland: Implement size limits and aspect ratio
2016-05-02 21:47:00 +02:00
Camilla Berglund
0b6a4313dd
Create EWMH and XDND atoms on demand
2016-05-01 23:01:48 +02:00
IntellectualKitty
3b0b5dacf5
Fix test for joystick presence in matchCallback
...
The matchCallback function has an initial loop to filter out redundant
joystick additions based on matching deviceRef values. However, the if
statement incorrectly combines this test with the condition that the
joystick is not present, which is obviously incorrect.
Closes #753 .
2016-04-27 15:42:19 +02:00
Camilla Berglund
99dc2c48bd
Fix setting of GLFW_MAXIMIZED hint
...
Caused by a bad rebase.
Fixes #738 .
2016-04-17 13:44:07 +02:00
Camilla Berglund
135ed7feb4
Fix build on legacy MinGW
2016-03-31 15:04:25 +02:00
Camilla Berglund
bd345164d3
Fix missing constant on VC++ 2010
2016-03-31 13:07:06 +02:00
Camilla Berglund
7cbdae1bed
Add initial DirectInput 8 support
...
Fixes #232 .
2016-03-31 12:24:01 +02:00
Camilla Berglund
3aebb0bfe3
Cleanup
2016-03-31 12:23:49 +02:00
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
2016-03-31 12:12:09 +02:00
Camilla Berglund
bdd17c337f
Make helper window child of HWND_MESSAGE
2016-03-31 12:12:08 +02:00
Camilla Berglund
eb3577c1eb
Add initial XInput support
2016-03-31 12:12:04 +02:00
Camilla Berglund
c580949417
Cleanup
2016-03-29 14:01:06 +02:00
IntellectualKitty
ae4ece840d
Remove redundant OS X joystick polling
...
Closes #729 .
2016-03-29 14:00:13 +02:00
Camilla Berglund
c234a19423
Fix invalid EGL display being terminated
2016-03-29 11:13:07 +02:00
Camilla Berglund
20574fa81f
Fix VC++ warnings
2016-03-29 11:13:07 +02:00