Camilla Berglund
c9808586b3
Added GLFW_DOUBLEBUFFER.
2014-06-18 16:36:53 +02:00
Camilla Berglund
281013002d
Added GLFW_DONT_CARE.
...
This changes the behavior of framebuffer hints set to zero. Before,
zero meant that any value was acceptable. This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.
Fixes #70 .
2014-06-18 16:36:22 +02:00
Camilla Berglund
25e7ff1196
Added GLFW_AUTO_ICONIFY.
...
By default, full screen windows that lose focus will be iconified and
the video mode will be restored. This makes it impossible to create
applications spanning multiple monitors. The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.
Fixes #143 .
2014-06-18 16:33:58 +02:00
Camilla Berglund
4fb5da75dc
Consume WM_ERASEBKGND.
2014-06-18 16:19:17 +02:00
Camilla Berglund
5e008ad074
Removed tautological test.
2014-06-18 16:19:17 +02:00
Camilla Berglund
7123bcfc3e
Fixed modifier key events being lost.
2014-06-17 11:49:29 +02:00
Camilla Berglund
20b7ac0518
Formatting.
2014-06-12 22:08:37 +02:00
Camilla Berglund
7653f3af49
Updated comments on global variables.
2014-06-10 15:04:32 +02:00
Camilla Berglund
ae469ee614
Made X11 Unicode table const.
2014-06-10 15:04:32 +02:00
Camilla Berglund
c6e02c09ff
Fixed leaks of joystick mutable arrays.
2014-05-29 13:19:08 +02:00
Camilla Berglund
8f2336f02c
Fixed release of get rule objects.
...
Partial revert of b4c03b992c
.
Fixes #262 .
2014-05-29 11:28:22 +02:00
Camilla Berglund
04ea2112bd
Fixed possible use of invalid HWND.
2014-05-23 13:24:36 +02:00
Camilla Berglund
4923f1cf7e
Call platform API directly where possible.
2014-05-21 21:30:24 +02:00
Camilla Berglund
56f0bb8613
Comment fix.
2014-05-21 21:30:24 +02:00
Camilla Berglund
b91116e2bc
Fixed glfwShowWindow restoring maximized windows.
...
Fixes #264 .
2014-05-19 15:01:05 +02:00
Camilla Berglund
dc5c264e26
Fixed broken key repeat detection.
2014-05-19 15:01:05 +02:00
Camilla Berglund
22e1b525a5
Cleaned up shared key repeat detection.
2014-05-18 14:06:51 +02:00
Camilla Berglund
d95b1b33e5
Cleanup of XKB detection code.
2014-05-18 14:06:49 +02:00
Andrew Corrigan
b889aa7841
Automatically detect Xkb at run-time.
...
Uses XGetKeyboardMapping as a fallback. Fixes #282 .
2014-05-18 12:45:43 +02:00
Camilla Berglund
e02b278db1
Linux joystick cleanup.
2014-05-16 11:27:30 +02:00
Camilla Berglund
deed44a4af
Fixed joystick name dangling pointer.
2014-05-16 11:25:34 +02:00
Camilla Berglund
aa6f8d40bd
Fixed misspelled parameter.
...
Fixes #287 .
2014-05-04 12:19:11 +02:00
Camilla Berglund
5ea485e197
Added missing function stub.
2014-05-04 11:51:40 +02:00
Camilla Berglund
cda5b25cb2
Moved to WM_NCCREATE.
2014-04-20 15:26:52 +02:00
Camilla Berglund
646c1cb8a8
Added inclusion of TLS header to Wayland.
2014-04-08 17:47:38 +02:00
Camilla Berglund
1fed6f8abd
Fixed name of global TLS state macro.
2014-04-08 17:47:38 +02:00
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
2014-04-08 17:47:38 +02:00
Camilla Berglund
48619a385e
Renamed joystick state members.
2014-04-08 17:47:38 +02:00
Camilla Berglund
eaf3bd5ca4
Formatting.
2014-04-08 17:47:38 +02:00
Camilla Berglund
12b28c4bb9
Fixed name of global context state macro.
2014-04-08 17:47:38 +02:00
Camilla Berglund
7c925353a5
Renamed context module headers.
2014-04-08 17:47:38 +02:00
Camilla Berglund
8113c00712
Merged CMake platform file picking blocks.
2014-04-08 17:47:38 +02:00
Camilla Berglund
17d9051b82
Separated time state from window system state.
2014-04-08 17:47:38 +02:00
Camilla Berglund
7a4623e034
Added cursor stubs to Wayland backend.
2014-04-08 17:47:38 +02:00
Camilla Berglund
115c6bc000
Removed superfluous include.
2014-04-08 17:47:38 +02:00
Camilla Berglund
fce0114174
Renamed POSIX time module.
2014-04-08 17:47:38 +02:00
Camilla Berglund
0e4096e201
Removed X11-specific macro from Wayland port.
2014-04-08 17:47:38 +02:00
Camilla Berglund
d6243c63fe
Removed tab characters.
2014-04-08 17:47:38 +02:00
Camilla Berglund
420f3f7840
Wayland error reporting work.
2014-04-08 17:47:38 +02:00
Camilla Berglund
ede7a585bf
Shortened Wayland platform prefix.
2014-04-08 17:47:38 +02:00
Camilla Berglund
5491bd4fd2
Formatting and cleanup.
2014-04-08 17:47:38 +02:00
Camilla Berglund
660034332d
Separated joystick state from window system state.
...
This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
2014-04-08 16:07:21 +02:00
Camilla Berglund
22095d12f5
Made Wayland header macro structure match X11.
2014-04-08 16:07:20 +02:00
Camilla Berglund
b7fc8099f1
Removed duplicate addition of POSIX time header.
2014-04-08 16:07:20 +02:00
Camilla Berglund
f312b5e386
Removed unused file.
2014-04-08 16:07:20 +02:00
Jonas Ådahl
8e99996321
Introduce experimental Wayland backend
...
This patch introduces a new backend that enables GLFW applications to
run on Wayland. For now, only output is supported (windowed and
fullscreen). Pointer cursor management, input devices, clipboard etc are
not supported yet.
There are some concepts that can not be supported, more specifically
glfwSetWindowPos, glfwGetWindowPos and glfwSetCursorPos, as they are not
supported by Wayland.
This patch also changes the time and joystick implementations used by the
X11 backend to be shared between the Wayland backend and the X11 backend.
2014-04-08 16:07:20 +02:00
Camilla Berglund
99c98407c9
Removed flicker-inducing workaround.
...
Fixes #267 .
2014-04-08 14:11:21 +02:00
Camilla Berglund
c1ed0b2d5b
Removed duplicate fallback.
2014-04-08 13:25:20 +02:00
Camilla Berglund
70c1aff94c
Fixed missing dereference in b29fbc82c2
.
2014-04-08 12:07:44 +02:00
Camilla Berglund
b29fbc82c2
Ensure out arguments are always set.
2014-04-07 16:28:11 +02:00