Commit Graph

3350 Commits

Author SHA1 Message Date
Doug Binks
3a8c2ffb37 Added Wayland _glfwPlatformGetMonitorWorkarea implementation using full monitor position and size. 2018-09-08 18:01:28 +02:00
Doug Binks
61e2d23502 Added cocoa NULL argument checks and fixed height/width issue. 2018-09-08 18:00:44 +02:00
Doug Binks
51a8667fcb Added X11 NULL argument checks. 2018-09-08 18:00:19 +02:00
Doug Binks
1a1ad508ab Added documentation for work area size. 2018-09-08 17:24:57 +02:00
Doug Binks
992e5da96a Incremented version number. 2018-09-08 17:24:20 +02:00
Doug Binks
196a7cf7d2 Fixed zeroing of height argument. 2018-09-08 17:18:24 +02:00
Doug Binks
875cbdf46d Added size to documentation. 2018-09-08 17:18:05 +02:00
Doug Binks
147b0f5e83 Added width and height to glfwGetMonitorWorkarea documentation. 2018-09-08 17:16:07 +02:00
Doug Binks
af43c42c93 Fix for _glfwPlatformGetMonitorWorkarea with NULL inputs. 2018-09-08 17:14:57 +02:00
Doug Binks
921d9833b2 Fixed and simplified _glfwPlatformGetMonitorWorkarea on win32 2018-09-08 17:09:43 +02:00
Doug Binks
a484f0d8dd Moved glfwGetMonitorWorkarea function usuage example to monitors.c test. 2018-09-08 16:38:43 +02:00
Felipe Ferreira da Silva
b8df8258ea Fix missing semicolon in the Cocoa implementation 2017-04-07 17:47:38 -03:00
Felipe Ferreira da Silva
f539f19b58 Implementation for querying work area with Cocoa
This is an initial implementation and needs review.
2017-04-07 17:43:54 -03:00
Felipe Ferreira da Silva
a24fdf27f9 Update query for work area on Windows 2017-04-06 22:05:56 -03:00
Felipe Ferreira da Silva
0403eed963 Use GLFW function to get window property on X11
The function ```XGetWindowProperty``` was replaced with the GLFW
function ```_glfwGetWindowPropertyX11``` in the operation to get the
work area.
2017-04-06 20:42:41 -03:00
Felipe Ferreira da Silva
2b7ed3d177 Update query for work area on Windows 2017-04-06 19:33:03 -03:00
Felipe Ferreira da Silva
d4a0764464 Query work area for X11
The function ```glfwGetMonitorWorkarea``` retrieves the rectangle work
area of the specified monitor.
2017-04-06 16:48:08 -03:00
Camilla Löwy
66b16f1fc1 X11: Add validation of RandR gamma ramp size 2017-04-05 17:53:00 +02:00
Camilla Löwy
2226e60944 Formatting 2017-04-05 17:52:03 +02:00
Camilla Löwy
9558b85f7b Documentation work
Related to #981.
2017-04-04 18:53:47 +02:00
Brandon Schaefer
c9003b5547 Mir: Get ready for Mir 1.0
Clean up CMake finding and check version.  Change last remaining
deprecations.

Closes #979.
2017-03-30 00:43:03 +02:00
Camilla Löwy
9f63a8abfa Update changelog
Issue #682 was implicitly fixed by
77a8f103d8.

Closes #682.
2017-03-27 18:40:04 +02:00
Camilla Löwy
4ff66a7818 X11: Fix IM-duplicated key events leaking through
Fixes #747.
Fixes #964.
2017-03-27 02:00:31 +02:00
Camilla Löwy
72d58d7b93 Cleanup 2017-03-26 16:46:17 +02:00
Camilla Löwy
11c15b562d Remove superfluous comments 2017-03-26 16:46:17 +02:00
Camilla Löwy
9b81d72c46 X11: Fix libXi soname 2017-03-26 16:46:17 +02:00
Camilla Löwy
b0277a129b Fix comment 2017-03-26 16:46:17 +02:00
Camilla Löwy
120082ee3a Add Git commit message article 2017-03-26 16:46:17 +02:00
Camilla Löwy
6abb5cbcbb Formatting 2017-03-26 16:46:17 +02:00
Camilla Löwy
b215a989f5 Win32: Check for monitor object creation failure 2017-03-26 16:46:17 +02:00
Camilla Löwy
5fe4dfb511 X11: Narrow criteria for disabling RandR
Fixes #972.
2017-03-26 16:46:17 +02:00
Camilla Löwy
cf2eab5b4e Cocoa: Made axis auto-calibration less jumpy 2017-03-23 17:33:05 +01:00
Camilla Löwy
55d0560746 Cocoa: Fix range handling for hats and buttons
Fixes #888.
2017-03-23 15:58:14 +01:00
Camilla Löwy
1982543cd2 Cleanup 2017-03-19 02:46:16 +01:00
Camilla Löwy
aaf2800c9c Add internal TLS support
Related to #970.
2017-03-19 00:52:46 +01:00
Camilla Löwy
62414bff6e X11: Fix inverted coordinate transform 2017-03-17 14:09:07 +01:00
Camilla Löwy
2376d3b16a Formatting 2017-03-17 01:11:28 +01:00
Camilla Löwy
6a65341e14 X11: Fix multiple issues in XDND support
The code blindly expected UTF8_STRING for files.  It did not downgrade
based on source protocol version.  It did not handle hostnames in
text/uri-list data.  It did not specify the source time stamp when
converting the selection.  It did not search the XdndTypeList when
necessary.  It did not ignore sources that specified invalid versions.

While better, this is still not fully conformant.  Hostnames are not
validated and it does not guard against source crashes.

Fixes #968.
2017-03-16 23:41:06 +01:00
Camilla Berglund
bff31f006e Formatting 2017-03-16 16:22:00 +01:00
Camilla Berglund
7410346c5c Cocoa: Allow undecorated windows to become main 2017-03-16 15:46:21 +01:00
Camilla Löwy
27a8b3c17b EGL: Add support for EGL_KHR_context_flush_control 2017-03-15 17:37:33 +01:00
Camilla Löwy
7c070f55be EGL: Add support for Cygwin 2017-03-15 14:40:21 +01:00
Camilla Löwy
3d8aa53573 Cocoa: Fix full screen window not being restorable
Once a full screen window was iconified, it would appear to restore but
then disappear.

Fixes #848.
2017-03-15 01:27:46 +01:00
Camilla Löwy
7c88c92778 Cocoa: Fix window rect on leaving video mode
Fixes #748.
2017-03-14 21:23:48 +01:00
Camilla Löwy
21355e31db Cleanup 2017-03-14 20:39:18 +01:00
Camilla Löwy
97dbd8b63b Win32: Fix monitor event emission
Fixes #784.
2017-03-14 19:21:57 +01:00
Camilla Löwy
0df9cc2fc5 Win32: Improve monitor enumeration
This changes enumeration to add as a GLFW monitor any active adapter
without displays, even if other active adapters do have displays.

Related to #441.
Fixes #960.
2017-03-14 19:10:57 +01:00
Camilla Löwy
e2ce3026a0 Rename license file 2017-03-14 14:49:30 +01:00
Camilla Löwy
6a8ade99c7 Cocoa: Remove errors emitted on headless systems
Related to #958.
2017-03-10 14:44:55 +01:00
Camilla Löwy
43fc399cd1 Add hat button toggling to joystick test 2017-03-08 12:39:16 +01:00