Commit Graph

2660 Commits

Author SHA1 Message Date
Camilla Berglund
f6defeff5d Remove C++-isms in Mir port
Related to #568.
2015-08-09 13:29:21 +02:00
Camilla Berglund
0a1225d0df Decouple Win32 cursor setting and tracking 2015-08-09 13:26:41 +02:00
Camilla Berglund
527952102a Fixed filtering of events duplicated by XIM.
Duplicate events cannot be filtered by the return value of XFilterEvent,
as that discards dead key events on some IMs (ibus), nor by its inverse,
as that discards all key events on other IMs (?).  This solution is
based on the workaround in SDL2 and takes advantage of the identical
time of the duplicate events.

Fixes #548.
Closes #554.
Closes #571.
2015-08-07 16:53:43 +02:00
Camilla Berglund
8a4e939a10 Fix glext.h regression in glfwinfo on OS X
The glfwinfo program uses symbols not provided by the glext.h header in
every development environment.

Closes #572.
2015-08-07 16:31:05 +02:00
Camilla Berglund
f8395886d3 Formatting 2015-07-30 20:36:03 +02:00
Brandon Schaefer
9527c93a1c Move to the new MirEvent 2.0 + 0.14/0.15 changes
Closes #568.
2015-07-30 20:35:55 +02:00
Camilla Berglund
37e13361f5 Fixed last manual inclusion of glext.h. 2015-07-28 14:51:36 +02:00
Yaron Cohen-Tal
bb6db74167 Fixed finding of PowerVR SDK libraries.
Closes #560.
2015-07-28 14:14:31 +02:00
Camilla Berglund
1f95fac699 Extension string type cleanup. 2015-07-28 14:12:16 +02:00
Camilla Berglund
24e4e674a5 Enabled MSAA for splitview example. 2015-07-27 12:42:16 +02:00
Camilla Berglund
460e5d792d Fixed splitview example on Retina displays. 2015-07-21 21:58:24 +02:00
Camilla Berglund
02d821c0ab Updated changelog. 2015-07-21 17:47:08 +02:00
Camilla Berglund
d12b34388d Added reference to CMake Info.plist template. 2015-07-21 17:42:01 +02:00
Camilla Berglund
e686f5a249 Fixed AppKit not initialized for cursor creation. 2015-07-21 17:22:21 +02:00
Camilla Berglund
33c7c28dde Replaced the various cursor tests with a sane one. 2015-07-16 17:48:59 +02:00
Camilla Berglund
04c057238b Added support for EXT_framebuffer_sRGB.
Added sRGB extensions to standards conformance page.
2015-07-16 17:48:00 +02:00
Camilla Berglund
bfe55118dd Fixed name of Win32 cursor tracking flag. 2015-07-14 15:45:22 +02:00
Camilla Berglund
f825af06f0 Formatting. 2015-07-14 15:45:22 +02:00
Camilla Berglund
2205bdd469 Improved X11 display opening failure. 2015-07-06 14:38:00 +02:00
Camilla Berglund
0f3b69c79d Fixed missing utility function return types.
Fixes #546.
2015-07-05 01:13:52 +02:00
Camilla Berglund
cf10e318d6 Formatting. 2015-07-01 14:58:43 +02:00
Camilla Berglund
1ab9dbab60 Removed test replaced by glfwinfo. 2015-07-01 14:50:46 +02:00
Camilla Berglund
4f0fc55385 Added version option to glfwinfo. 2015-07-01 14:48:20 +02:00
Camilla Berglund
23195693ed Added glfwinfo options for context and fb hints. 2015-07-01 14:45:48 +02:00
Camilla Berglund
a7fa41612c Fixed printing of GLFW version on usage and error. 2015-07-01 14:15:12 +02:00
Camilla Berglund
5f91ea34de Made glfwinfo options set hints directly. 2015-07-01 14:14:51 +02:00
Camilla Berglund
ea9c186e36 Updated changelog. 2015-06-26 16:20:20 +02:00
Camilla Berglund
a97477337d Updated changelog and credits, formatting.
Fixes #17.
Closes #536.
2015-06-26 13:41:27 +02:00
Aaron Jacobs
fec6f187d1 Do not recurse over IOHIDElement children. 2015-06-26 13:07:49 +02:00
Aaron Jacobs
1a96c294ee Add support for joystick hot swapping on OS X. 2015-06-26 13:07:39 +02:00
Camilla Berglund
19a28e2c9f Fixed X11 arrow cursor image.
Fixes #541.
2015-06-25 12:59:51 +02:00
Camilla Berglund
1984d40e33 Formatting. 2015-06-25 01:23:23 +02:00
Camilla Berglund
cf4206d987 Fixed duplicate key presses caused by XIM.
Probably.
2015-06-25 00:43:12 +02:00
Camilla Berglund
cc4c232956 Renamed cursor window library struct member.
Since _glfwPlatformWindowFocused it has a more limited role.
2015-06-17 12:06:45 +02:00
Camilla Berglund
226f85efcb Key translation tables are now in _glfw. 2015-06-16 22:26:30 +02:00
Camilla Berglund
2aa8e17c88 Cleanup. 2015-06-16 22:16:36 +02:00
Camilla Berglund
3365139a6c Cleanup. 2015-06-16 12:10:20 +02:00
Camilla Berglund
2cc3c16ab1 Documentation tweak. 2015-06-15 20:40:15 +02:00
Camilla Berglund
3a0b397054 Fixed regression for WGL full screen DWM hack.
The DwmFlush workaround for windowed windows on Nvidia caused jitter for
full screen windows.  The workaround is now only used for windowed mode
windows.

Fixes #519.
2015-06-15 20:19:49 +02:00
Camilla Berglund
b15eaeda16 Implemented auto-iconification on X11.
Fixes #531.
2015-06-15 18:46:45 +02:00
Camilla Berglund
e049190ff1 Moved focus callback triggering last. 2015-06-15 18:46:45 +02:00
Camilla Berglund
dba59cf903 Improved X11 focus event filtering.
Some focus events need to be ignored to allow functionality like
Alt+Tab and volume indicators to not affect application-visible window
focus.  However, the previous filtering was too broad and missed virtual
desktop switching, Alt+Tab and programmatic iconification.

Fixes #405.
2015-06-15 18:44:54 +02:00
Camilla Berglund
56122cbe2f Keep X11 full screen window properties on iconify. 2015-06-15 15:32:35 +02:00
Camilla Berglund
c77edaee34 Always pre-position X11 full screen windows. 2015-06-15 15:32:35 +02:00
Camilla Berglund
21ce21cc07 Improved X11 full screen focus control flow. 2015-06-15 15:32:16 +02:00
Camilla Berglund
6cf15615e8 Clarified EWMH full screen error messages. 2015-06-15 14:39:56 +02:00
Camilla Berglund
a1399426c3 Removed superfluous X11 window struct member. 2015-06-15 14:38:13 +02:00
Camilla Berglund
81249724e3 Removed retrieval of unused values. 2015-06-15 14:36:32 +02:00
Camilla Berglund
bdcffa90eb Remove superfluous X11 library struct member. 2015-06-15 14:28:13 +02:00
Camilla Berglund
1ee4c4ba62 Clarified control flow in X11 event processing. 2015-06-15 14:24:27 +02:00