Anaël Seghezzi
d7ee3f6caa
Merge f47bd94967
into 8055dad7e4
2019-03-09 13:29:14 +00:00
Anaël Seghezzi
f47bd94967
Correct GetProperty segmentation fault
2019-03-09 14:29:05 +01:00
Anaël Seghezzi
92d93ede90
Add tablet termination and global cursor
2019-03-09 13:50:45 +01:00
Anaël Seghezzi
04cf328ca6
Add cursor and proximity docu
2019-03-08 18:34:35 +01:00
Anaël Seghezzi
00dc88af7b
Fix trailing whitespace
2019-03-08 18:21:57 +01:00
Anaël Seghezzi
d7c1b080db
Fix trailing whitespace
2019-03-08 18:14:51 +01:00
Anaël Seghezzi
6ab20fa776
Add XInput2 tablet support
2019-03-08 18:07:44 +01:00
Anaël Seghezzi
58d3c0fd45
Remove dependency over transformY
2019-03-07 15:04:38 +01:00
Anaël Seghezzi
eea6b32f66
Fix macOS 10.12 deprecated
2019-03-07 14:51:12 +01:00
Anaël Seghezzi
340c1200fc
Remove trailing whitespace
2019-03-07 12:56:05 +01:00
Anaël Seghezzi
bd7ce80369
Add pen tablet support for OSX cocoa
2019-03-07 12:38:24 +01:00
Anaël Seghezzi
fa5882eb54
Change orientation unit to radian
2019-03-07 09:54:05 +01:00
Anaël Seghezzi
79ac263771
Add minimal wintab32 support
2019-03-06 11:57:17 +01:00
Camilla Löwy
8055dad7e4
Update changelog and add credit
2019-03-05 20:22:00 +01:00
Camilla Löwy
8d7e5cdb49
NSGL: Update current display for display link
...
This solution of one display link per window is far from ideal but is
still better than no solution.
As a side-effect this fixes swap interval breaking being ignored for
occluded windows on earlier versions of macOS.
Fixes #680 .
Fixes #1337 .
Related to #1417 .
Fixes #1435 .
2019-03-05 20:22:00 +01:00
Camilla Löwy
f8bcc7e65c
NSGL: Fix leak of condition object
...
Related to #1417 .
2019-03-05 20:22:00 +01:00
Camilla Löwy
ba761ab06e
NSGL: Fix display link leaking and left running
...
Related to #1417 .
2019-03-05 20:22:00 +01:00
Camilla Löwy
d0e8d06d95
Cleanup
...
Related to #1417 .
2019-03-05 20:22:00 +01:00
Camilla Löwy
3615d437a7
Formatting
...
Related to #1417 .
2019-03-05 20:22:00 +01:00
amarcu5
82ca58da04
NSGL: Implement swap interval with CVDisplayLink
...
This fixes OpenGL swap interval (vsync) on macOS 10.14 Mojave by using
CVDisplayLink to synchronise to the monitor refresh rate rather than
setting NSOpenGLContextParameterSwapInterval.
Solution based on advice provided by @rcgordon.
Closes #1417 .
2019-03-05 20:21:56 +01:00
Camilla Löwy
4e3204d86d
Cocoa: Replace global autorelease pool with blocks
...
This is another small step towards having GLFW play nice with other
toolkits sharing the same process, including AppKit.
Any macOS platform function that touches Cocoa must now wrap itself in
an autoreleasepool block.
Since GLFW no longer provides an autoreleasepool outside of its
functions, THIS MAY BREAK EXISTING CODE MIXING GLFW AND COCOA. Sorry!
Please add your own autoreleasepool blocks as needed.
Fixes #1107 .
Closes #1114 .
2019-03-05 20:11:20 +01:00
Camilla Löwy
9883cb64f0
Cocoa: Disable shadow for transparent framebuffer
2019-03-05 20:03:29 +01:00
Camilla Löwy
4b20fb705b
Cocoa: Fix work area using NS screen coordinates
...
Related to #1322 .
2019-03-05 17:41:32 +01:00
Camilla Löwy
a43d1a4937
Documentation work
...
Fixes #920 .
Related to #1322 .
2019-03-05 16:59:46 +01:00
Camilla Löwy
3a2a97f15d
X11: Fix implementation of work area retrieval
...
This intersects the global work area from _NET_WORKAREA with the monitor
viewport. The monitor viewport falls back to the core display
dimensions where working RandR is missing. The _NET_WORKAREA query is
now checked for success. The _NET_WORKAREA extent array is now indexed
by _NET_CURRENT_DESKTOP. The _NET_WORKAREA atom is now checked for
availability.
Related to #1322 .
2019-03-05 16:58:45 +01:00
Camilla Löwy
4f14c1e776
X11: Fix copypaste errors
...
Related to #1322 .
2019-03-05 16:58:45 +01:00
Camilla Löwy
d82e7b5cb1
Win32: Use cached monitor handle for work area
...
This facility was added after the original PR was made.
Related to #1322 .
2019-03-05 16:58:45 +01:00
Camilla Löwy
0118743333
Formatting
...
Related to #1322 .
2019-03-05 16:58:45 +01:00
Camilla Löwy
a726942bfe
Cocoa: Unify NSScreen cached lookup for monitors
...
Related to #1322 .
2019-03-05 16:58:45 +01:00
Doug Binks
68fd4e8bb3
Cocoa: Fix work area retrieval on missing screen
...
Closes #1322 .
2019-03-05 16:58:45 +01:00
Doug Binks
ba4e78e57f
Wayland: Return whole output area as work area
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
222ac78a44
Cocoa: Add work area NULL checks and fix size
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
bea4818030
X11: Add NULL checks in work area retrieval
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
f1d40fa046
Documentation work.
...
This adds documentation for work area size.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
6907629cbf
Fix version number in glfwGetMonitorWorkarea docs
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
e6d22346f9
Fix copypaste error in glfwGetMonitorWorkarea
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
154db76a6c
Documentation work
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
3fd70cc513
Documentation work
...
This adds documentation for the width and height parameters of
glfwGetMonitorWorkarea.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
f7733c7b4f
Win32: Add missing out parameter NULL checks
...
This fixes _glfwPlatformGetMonitorWorkarea not checking if its out
parameters were NULL.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
5c752355cb
Win32: Fix and simplify work area retrieval
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
c733ab0a22
Move glfwGetMonitorWorkarea test to monitors
...
This moves the test use of glfwGetMonitorWorkarea from the simple
example to the monitors test program.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Felipe Ferreira da Silva
be295ccbea
Add glfwGetMonitorWorkarea
...
This function retrieves the work area rectangle of the specified
monitor.
Related to #920 .
Closes #989 .
2019-03-05 16:10:59 +01:00
Camilla Löwy
c20754c4a6
Fix Coverity Scan false positive
2019-03-04 18:52:56 +01:00
Camilla Löwy
621ece63c8
Round refresh rate instead of truncating
...
Fixes #1441 .
2019-03-04 17:31:14 +01:00
Camilla Löwy
2fbb560eb7
Cocoa: Fix window creation blocking after re-init
...
Fixes #1439 .
2019-02-25 02:41:05 +01:00
Camilla Löwy
7c3aaf8065
Win32: Fix OCR_HAND macro missing on MinGW
...
Fixes #1438 .
2019-02-24 04:18:11 +01:00
Camilla Löwy
44af6bb936
Wayland: Implement raw mouse motion control
...
Related to #1400 .
Related to #1401 .
2019-02-22 14:52:02 +01:00
Camilla Löwy
1155c83013
Rename raw input to raw mouse motion, cleanup
...
This renames 'raw input' to 'raw mouse motion' as there are other kinds
of raw input. The update path is restructured to avoid reinitializing
all of disabled cursor mode. Modification of shared state is moved out
into shared code. Raw mouse motion is disabled by default for
compatibility.
Related to #1401 .
2019-02-22 13:04:11 +01:00
Nathan Poirier
9e29f556fd
Add GLFW_RAW_INPUT and glfwRawInputSupported
...
This adds runtime per-window control of whether accelerated or raw mouse
motion is provided when the cursor is disabled.
Fixes #1400 .
Closes #1401 .
2019-02-22 13:04:11 +01:00
Emmanuel Gil Peyrot
5f9cbd0ebc
Wayland: keyboard repeat rate is given in Hz
...
It was currently interpreted as ms, which is obviously wrong.
Thanks to https://github.com/Smithay/client-toolkit/pull/62 for making
me notice this issue.
2019-02-20 15:56:04 +01:00