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
Camilla Berglund
29e232f4b2
Improved error messages
2016-03-29 11:13:06 +02:00
Camilla Berglund
33c68a24a0
Formatting
...
[ci skip]
2016-03-29 11:12:49 +02:00
Camilla Berglund
f96d865b93
Cleanup
2016-03-28 20:16:53 +02:00
Camilla Berglund
925208d28f
Fix copypaste mistake
2016-03-28 12:44:50 +02:00
Camilla Berglund
7ab7d8b4b1
Make use of uint32_t where appropriate
...
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8
Replace GLFWuint64 with uint64_t
...
C99 stdint.h is provided by VS 2010 and later. GLFW has not provided
testing or binaries for VS 2008 for several releases.
For earlier versions of VS there are third-party alternatives:
https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h
This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
5eb2e83c82
Cleanup
2016-03-28 12:26:08 +02:00
Camilla Berglund
c1e4c45c7a
Replace Win32 window long with window property
...
Related to #25 .
2016-03-28 10:57:19 +02:00
Camilla Berglund
3503cba5d9
Fix Ctrl+Pause reported as unknown key on Win32
...
Fixes #730
2016-03-24 21:26:57 +01:00
Camilla Berglund
17bcefeac1
Fix CGL context not being released until later
...
Fixes #721 .
2016-03-18 12:01:48 +01:00
Camilla Berglund
6570d0c4b7
Add glfwSetWindowMonitor
...
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.
Fixes #43 .
2016-03-18 11:13:24 +01:00
Camilla Berglund
99c925efd8
Add tracking of which window 'owns' a monitor
2016-03-16 16:16:29 +01:00
Camilla Berglund
ea888114fa
Remove monitor from _GLFWwndconfig
2016-03-16 16:16:02 +01:00
Camilla Berglund
3a6fe042ea
Cleanup
2016-03-16 16:15:49 +01:00