Camilla Berglund
8fd69bc6c2
Fixed monitor size using wrong incorrect value.
...
The display device string was used, instead of the adapter device name,
leading to the wrong incorrect physical size being returned for
non-primary monitors. The right incorrect physical size is now returned
for all monitors.
ago%!(EXTRA string=11 years)
Camilla Berglund
5bbb837635
Fixed gamma functions acting on whole desktop.
...
Fixes #336 .
ago%!(EXTRA string=11 years)
Camilla Berglund
5ca875a7ff
Fixed incorrect full screen window placement.
...
Fixes #213 .
ago%!(EXTRA string=11 years)
Camilla Berglund
e9c7314d50
Added GLFW_FOCUSED window hint.
...
Fixes #101 .
ago%!(EXTRA string=11 years)
Camilla Berglund
4ae6eae58d
Made queries use XRRGetScreenResourcesCurrent.
...
Fixes #347 .
Closes #351 .
ago%!(EXTRA string=11 years)
Camilla Berglund
7dba90b7ca
Removed racy checks of cached iconification state.
ago%!(EXTRA string=11 years)
Camilla Berglund
41d998eb3c
Removed duplicate inclusion of client header.
ago%!(EXTRA string=11 years)
Ricardo Vieira
25204b1ec7
wayland: Support for setting a cursor image
...
Closes #346 .
ago%!(EXTRA string=11 years)
Camilla Berglund
8d170c7f47
Merged clipboard code into input.
ago%!(EXTRA string=11 years)
Camilla Berglund
4aa9174e76
Clarified comments for X11 key repeat hack.
ago%!(EXTRA string=11 years)
Camilla Berglund
3fcc2a6cb2
Documented use of deprecated OS X function.
ago%!(EXTRA string=11 years)
Camilla Berglund
f8d80a936f
Internal header cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
c85294e0b2
Window class cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
82dc6c8b8f
Removed option to disable loading of winmm.
ago%!(EXTRA string=11 years)
Camilla Berglund
b1fd3c00d0
Removed duplicate window position clearing.
ago%!(EXTRA string=11 years)
Camilla Berglund
c700978c45
X11 library struct cleanup and comments.
ago%!(EXTRA string=11 years)
Camilla Berglund
5d525c4a5f
Moved display closing into _glfwPlatformTerminate.
ago%!(EXTRA string=11 years)
Camilla Berglund
e5d890a1aa
Made clipboard string member name consistent.
ago%!(EXTRA string=11 years)
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
ago%!(EXTRA string=11 years)
Camilla Berglund
cfc47abf0d
Made context creation backends more consistent.
ago%!(EXTRA string=11 years)
Camilla Berglund
d5cf713c20
Clarified comment on APIENTRY hack.
ago%!(EXTRA string=11 years)
Camilla Berglund
a5281df501
Moved RandR gamma probe to init.
ago%!(EXTRA string=11 years)
Camilla Berglund
59d1aa52f2
Merged gamma files into monitor files.
ago%!(EXTRA string=11 years)
Camilla Berglund
626dbf6057
Added clearing of global struct on terminate.
ago%!(EXTRA string=11 years)
Camilla Berglund
8cd88ddf61
Cleanup of OS X cursor fixes.
...
Closes #334 .
Fixes #254 .
ago%!(EXTRA string=11 years)
Arseny Kapoulkine
87fb437d76
Fixed changing cursor while it's outside window.
...
We need to invoke both [NSCursor set] and [NSView addCursorRect].
First call is responsible for changing the cursor if it's inside the
view; second call is responsible for keeping the cursor the same if it's
outside.
ago%!(EXTRA string=11 years)
Arseny Kapoulkine
e74ebf0be3
Fix cursor behavior on OS X.
...
Don't implement resetCursorRects: this occasionally hides the cursor
since an empty cursor is assigned to the window rectangle. Implementing
this method is not required since OS displays the window cursor
correctly by default.
Don't reset cursor mode when window loses focus: once again, OS handles
this correctly, and this means that the window cursor state is restored
when window gains focus again.
ago%!(EXTRA string=11 years)
Arseny Kapoulkine
b4d4fc8f79
Optimize _glfwInitJoysticks on OS X.
...
This function used to enumerate all devices and capture all properties
of every device into a dictionary. This takes 180 ms on a MacBook Pro
without external devices and 280 ms with an external keyboard/mouse
attached.
Since we're only interested in a few properties, we can just get them
one by one - this reduces the time to <1 ms.
Note that we still use the dictionary to get the joystick elements.
For unknown reason this is required to get all axes/buttons - without
doing this we don't get any joystick elements in addJoystickElement.
Closes #332 .
ago%!(EXTRA string=11 years)
Camilla Berglund
3b7d34a1d5
Moved XKB header to header variable.
ago%!(EXTRA string=11 years)
Camilla Berglund
aa4ec94d71
Removed link interface no-op.
...
Closes #327 .
ago%!(EXTRA string=11 years)
Camilla Berglund
6e0ea02f17
Quoted all CMake paths with substitution.
...
Fixes #258 .
ago%!(EXTRA string=11 years)
Camilla Berglund
87490316c8
Fixed video modes not being rotated to match CRTC.
...
Fixes #284 .
ago%!(EXTRA string=11 years)
Ricardo Vieira
a7c9ca3b43
wayland: Release input focus when window is destroyed
...
This fixes a seg. fault on the reopen test because events might occur
after the window is destroyed (for example leave events).
ago%!(EXTRA string=11 years)
Ricardo Vieira
acf6bfb1f6
wayland: Destroy window context before clearing the egl surface
ago%!(EXTRA string=11 years)
Ricardo Vieira
2c5c6a1ff5
wayland: Add support for resizing windows
ago%!(EXTRA string=11 years)
Ricardo Vieira
08dccc390d
wayland: Remove unused code
ago%!(EXTRA string=11 years)
Camilla Berglund
70fd348432
Fixed API version in header files.
ago%!(EXTRA string=11 years)
Ricardo Vieira
704dc3e34d
Fixed crash on Wayland with DRM-backend.
...
Fixes #319 .
Fixes #301 .
ago%!(EXTRA string=11 years)
Jonas Ådahl
2230a68e42
wayland: Follow _glfwInputChar() type change
ago%!(EXTRA string=11 years)
Jonas Ådahl
9ac854b7bb
wayland: Add keyboard support
...
Adds libxkbcommon as a dependency when enabling the Wayland backend.
ago%!(EXTRA string=11 years)
Jonas Ådahl
2f71bfc152
x11: Move KeySym to unicode converter out of x11 backend
...
To be used by the Wayland backend.
ago%!(EXTRA string=11 years)
Jonas Ådahl
a75cf5a163
wayland: Add basic input support
ago%!(EXTRA string=11 years)
Jonas Ådahl
4c68049d86
wayland: Fix indentation
ago%!(EXTRA string=11 years)
Ricardo Vieira
dea861abd8
Fixed all EGLConfigs listed as single-buffered.
...
The commit c980858
added a new flag to _GLFWfbconfig that was not being
set by EGLConfig enumeration. This patch assumes eglCreateWindowSurface
only creates double-buffered surfaces.
Fixes #315 .
ago%!(EXTRA string=11 years)
Doug Binks
55b5ca0bcc
Fixed WGL not re-creating for sRGB hint.
...
Fixes #312 .
ago%!(EXTRA string=11 years)
Camilla Berglund
96b12ee504
Added character with modifiers callback.
...
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field. This
behavior has now been documentated.
Fixes #203 .
Fixes #305 .
ago%!(EXTRA string=11 years)
Camilla Berglund
9b6c14b7ae
Unified X11 cursor creation.
ago%!(EXTRA string=11 years)
Camilla Berglund
215924f797
Removed harmless CGDisplay to NSScreen error.
...
This used to be a failure state, but has since been fixed.
Closes #221 .
ago%!(EXTRA string=11 years)
Camilla Berglund
e8e05d462c
Documentation work.
...
Fixes #276 .
ago%!(EXTRA string=11 years)
Camilla Berglund
a7b9deb2ca
Fixed use of previous member name.
ago%!(EXTRA string=11 years)