Jonas Ådahl
cf6c11cfaa
wayland: Only set surface buffer scale when supported
...
Although very unlikely, the wl_compositor version might not support
wl_surface.set_buffer_scale while the wl_output emits a wl_output.scale
that is larger than 1. So for correctness, bail on changing the buffer
scale if we won't be able to set it later.
2015-12-27 10:46:23 +08:00
Emmanuel Gil Peyrot
06479ba535
Wayland: Implement HiDPI support
...
Windows now keep track of the monitors they are on, so we can calculate
the best scaling factor for them, by using the maximum of each of the
monitors.
The compositor scales down the buffer automatically when it is on a
lower density monitor, instead of the previous way where it was scaling
up the buffer on higher density monitors, which makes the application
look much better on those ones.
2015-12-27 10:35:46 +08:00
Camilla Berglund
2b52008405
Check Linux joystick init on Wayland and Mir
2015-12-13 14:51:44 +01:00
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
2015-12-13 14:50:59 +01:00
Camilla Berglund
580c7da559
Make Wayland and Mir backends use key LUTs
2015-11-12 15:06:46 +01:00
Ricardo Vieira
e8f3de0f2e
Implement glfwCreateStandardCursor for Wayland
...
Closes #620 .
2015-10-24 23:31:11 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
95a07f3340
Start 3.2
2015-10-12 21:59:49 +02:00
Camilla Berglund
b00a7d0619
Simplified version string functions.
2015-06-02 03:32:29 +02:00
Camilla Berglund
ef6dec17ba
Added missing entries to Linux version strings.
2015-06-02 03:32:28 +02:00
Camilla Berglund
38ae319bea
Header inclusion cleanup.
2015-05-28 01:52:22 +02:00
Emmanuel Gil Peyrot
e253beaa2b
wayland: Implement glfwGetCursorPos
...
Closes #499 .
2015-04-19 13:27:43 +02:00
BrandonSchaefer
4674ed367d
Fix some memory leaks.
...
One in wl_init.c, need to clean up Joysticks.
Finish getting the monitor modes set up.
Finish adding Unsupported error messages.
2014-11-10 02:00:14 +01:00
Jonas Ådahl
4dd669661b
wayland: Coding style cleanup
...
Fixes * positioning, indentation and newline inconsistencies.
2014-09-28 21:54:09 +02:00
Jonas Ådahl
b1033a3443
wayland: Default to 32 cursor image size
...
This is the default across various toolkits (weston, GTK+ for example)
so lets stick to that.
2014-09-28 21:51:12 +02:00
Ricardo Vieira
25204b1ec7
wayland: Support for setting a cursor image
...
Closes #346 .
2014-09-09 16:38:47 +02:00
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).
2014-07-26 21:55:43 +01:00
Ricardo Vieira
08dccc390d
wayland: Remove unused code
2014-07-10 22:05:54 +01:00
Jonas Ådahl
2230a68e42
wayland: Follow _glfwInputChar() type change
2014-06-30 09:09:33 +02:00
Jonas Ådahl
9ac854b7bb
wayland: Add keyboard support
...
Adds libxkbcommon as a dependency when enabling the Wayland backend.
2014-06-29 23:21:06 +02:00
Jonas Ådahl
a75cf5a163
wayland: Add basic input support
2014-06-29 23:18:40 +02:00
Jonas Ådahl
4c68049d86
wayland: Fix indentation
2014-06-29 23:18:40 +02:00
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
2014-04-08 17:47:38 +02:00