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 .
ago%!(EXTRA string=6 years)
Camilla Löwy
4f14c1e776
X11: Fix copypaste errors
...
Related to #1322 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
Camilla Löwy
0118743333
Formatting
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Camilla Löwy
a726942bfe
Cocoa: Unify NSScreen cached lookup for monitors
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
68fd4e8bb3
Cocoa: Fix work area retrieval on missing screen
...
Closes #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
ba4e78e57f
Wayland: Return whole output area as work area
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
222ac78a44
Cocoa: Add work area NULL checks and fix size
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
bea4818030
X11: Add NULL checks in work area retrieval
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
f1d40fa046
Documentation work.
...
This adds documentation for work area size.
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
6907629cbf
Fix version number in glfwGetMonitorWorkarea docs
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
e6d22346f9
Fix copypaste error in glfwGetMonitorWorkarea
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
154db76a6c
Documentation work
...
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
3fd70cc513
Documentation work
...
This adds documentation for the width and height parameters of
glfwGetMonitorWorkarea.
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
f7733c7b4f
Win32: Add missing out parameter NULL checks
...
This fixes _glfwPlatformGetMonitorWorkarea not checking if its out
parameters were NULL.
Related to #1322 .
ago%!(EXTRA string=6 years)
Doug Binks
5c752355cb
Win32: Fix and simplify work area retrieval
...
Related to #1322 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
Felipe Ferreira da Silva
be295ccbea
Add glfwGetMonitorWorkarea
...
This function retrieves the work area rectangle of the specified
monitor.
Related to #920 .
Closes #989 .
ago%!(EXTRA string=6 years)
Camilla Löwy
c20754c4a6
Fix Coverity Scan false positive
ago%!(EXTRA string=6 years)
Camilla Löwy
621ece63c8
Round refresh rate instead of truncating
...
Fixes #1441 .
ago%!(EXTRA string=6 years)
Camilla Löwy
2fbb560eb7
Cocoa: Fix window creation blocking after re-init
...
Fixes #1439 .
ago%!(EXTRA string=6 years)
Camilla Löwy
7c3aaf8065
Win32: Fix OCR_HAND macro missing on MinGW
...
Fixes #1438 .
ago%!(EXTRA string=6 years)
Camilla Löwy
44af6bb936
Wayland: Implement raw mouse motion control
...
Related to #1400 .
Related to #1401 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
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.
ago%!(EXTRA string=6 years)
Camilla Löwy
ec3784f3d7
WGL: Unify query error handling
ago%!(EXTRA string=6 years)
Camilla Löwy
782f7fe0c7
WGL: Fix leak on format attrib query failure
...
This was found by Coverity Scan.
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
bcd8f9aff2
Documentation work
...
Describe #1341 .
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
45bd991ea9
Wayland: Fix auto-iconify on kwin_wayland
...
We now keep track of the fullscreen and activated state and only iconify
if we were previously fullscreen and now we are either not fullscreen or
not activated anymore.
This is the proper way to do it, compared to the previous hack where we
didn’t iconify only if it was the first configure event received.
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
edf0a07174
Wayland: Only auto-iconify fullscreen windows
...
Thanks to kwin for exposing a bug here!
ago%!(EXTRA string=6 years)
Greg V
36ce73bbfd
Wayland: use SHM_ANON on FreeBSD
...
This works like memfd on Linux.
ago%!(EXTRA string=6 years)
Camilla Löwy
1d95acdf56
Cocoa: Fix detection of Clang
ago%!(EXTRA string=6 years)
schraf
2e70950c0f
Fix quoting of CMAKE_C_COMPILER_ID
...
I was getting an error in this cmake file when using 3.10.2 on linux.
Here was the error message I was getting:
[cmake] CMake Error at external/glfw/src/CMakeLists.txt:82 (if):
[cmake] if given arguments:
[cmake]
[cmake] "STREQUAL" "GNU" "OR" "STREQUAL" "Clang"
[cmake]
[cmake] Unknown arguments specified
Adding the quotes around the cmake variables seems to do the trick. That
was also done with the STREQUAL condition earlier on line 66.
Closes #1411 .
ago%!(EXTRA string=6 years)
Camilla Löwy
2a27eb95e4
X11: Fix system cursor used for GLFW_HAND_CURSOR
...
Fixes #1432 .
ago%!(EXTRA string=6 years)
Camilla Löwy
e2fa82ffbb
Cleanup
...
Related to #1431 .
ago%!(EXTRA string=6 years)
Max Risuhin
cf79f06257
Win32: Fix standard cursors not being DPI aware
...
Closes #1431 .
ago%!(EXTRA string=6 years)
Camilla Löwy
90e22947c6
Cleanup
ago%!(EXTRA string=6 years)
Camilla Löwy
463ef7eb71
Cocoa: Fix handling of analog joystick buttons
...
The reported state was not clamped to [0,1], i.e. GLFW_RELEASE and
GLFW_PRESS.
Fixes #1385 .
ago%!(EXTRA string=6 years)
Camilla Löwy
51ca41dd9f
Cocoa: Add missing IOHID page and usages
...
Related to #1385 .
ago%!(EXTRA string=6 years)
Camilla Löwy
530b37f4db
Cocoa: Disable automatic tabbing for GLFW windows
...
Related to #1250 .
ago%!(EXTRA string=6 years)
Camilla Löwy
78e6a0063d
X11: Fix EWMH state update for hidden windows
...
The EWMH window state code assumed the window was mapped.
Fixes #1358 .
ago%!(EXTRA string=6 years)
Camilla Löwy
7f4dde15e4
Allow zero windows for events test
...
glfwWaitEvents is sane now, yay.
ago%!(EXTRA string=6 years)
Camilla Löwy
b41cd34143
Cleanup
ago%!(EXTRA string=6 years)
Camilla Löwy
d5ab3e919a
Cleanup
...
Replace client area with content area.
ago%!(EXTRA string=6 years)
iamCaveLamp
a46104ee69
Removed duplicates of centerCursor function
ago%!(EXTRA string=6 years)
Ivan Achlaqullah
757cd3aea2
Add Visual Studio .vs directory to .gitignore
...
Closes #1419 .
ago%!(EXTRA string=6 years)
maobaoqi
29d8ca4ce4
Fix bug in CrossProduct function in boing example
...
Closes #1418 .
ago%!(EXTRA string=6 years)
Camilla Löwy
3d748cf530
Cleanup
...
Related to #1381 .
ago%!(EXTRA string=6 years)
Doug Binks
babafc13db
WGL: Add array-based call to wglGetPixelFormatAttribivARB
...
This improves performance of pixel format enumeration and helps the very
poor performance reported on a small number of machines.
Closes #1381 .
ago%!(EXTRA string=6 years)