emersion
f71cf15aad
relative-pointer-v1: move pointer iteration in wlroots
...
This makes sure we always send events to the right client.
2019-01-06 12:17:31 +01:00
emersion
aebd74243f
Merge pull request #1448 from myfreeweb/fix-retroarch-crash
...
rootston: fix crash with fullscreen surfaces
2019-01-04 16:02:33 +01:00
Greg V
57edfacba4
rootston: fix crash with fullscreen surfaces
...
Fixes fullscreen mode in e.g. RetroArch and ioquake3.
2019-01-04 16:13:04 +03:00
emersion
610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
...
Relative pointers
2019-01-04 13:42:53 +01:00
Drew DeVault
bcf48931db
Merge pull request #1449 from swaywm/tinywl
...
Merge tinywl
2019-01-03 17:14:00 -05:00
Drew DeVault
25f905fdaa
Use pkg-config for tinywl deps
2019-01-03 15:39:04 -05:00
Drew DeVault
33d9d9f175
Annotate the source
2019-01-03 10:55:14 -05:00
Drew DeVault
f0d8b793a8
Update READMEs per tinywl merge
2019-01-03 10:10:03 -05:00
Drew DeVault
fc2ba30cfa
Merge remote-tracking branch 'tinywl/master' into tinywl
2019-01-03 09:59:34 -05:00
Alex Maese
78caed0c99
Only send relative events to the focused client in rootston
2019-01-02 13:06:37 -06:00
Alex Maese
8b97c20d01
Finish addressing @emersion's comments
2019-01-02 11:46:13 -06:00
Ian Fan
e2c216a4b8
examples/layer-shell.c: check popup exists before drawing
2018-12-30 16:36:20 +01:00
Drew DeVault
84c904752f
Merge pull request #1444 from emersion/edid-phys-size
...
backend/drm: get physical size from libdrm
2018-12-26 23:32:43 -06:00
Alex Maese
b8460f448c
Rename some variables for clarity
2018-12-23 06:50:39 -06:00
emersion
9b1d9fb91e
backend/drm: get physical size from libdrm
...
Values from libdrm are likely more reliable than raw values from the EDID. We
were already using values from libdrm, but they were overwritten by parse_edid.
See drm.c:
wlr_conn->output.phys_width = drm_conn->mmWidth;
wlr_conn->output.phys_height = drm_conn->mmHeight;
2018-12-23 10:36:53 +01:00
Jente Hidskes
ed5296c6cf
Protect against redefining MESA_EGL_NO_X11_HEADERS
2018-12-22 19:05:19 +01:00
Drew DeVault
b6b1bf9490
Merge pull request #1441 from Timidger/box-parameter-standardize
...
Standardize the wlr_box input paramaters
2018-12-22 08:51:08 -05:00
Timidger
9af0c5338f
Standardize the wlr_box input paramaters
...
Fixes #1094
2018-12-21 13:56:10 -05:00
Alex Maese
5999d0322b
Add a listener for when the pointer gets destroyed
2018-12-21 12:20:48 -06:00
Alex Maese
12d9edc0c9
Address more of @emersion's comments
2018-12-21 12:20:48 -06:00
Alex Maese
e276d310e8
Add unaccelerated pointer values to wlr_event_pointer_motion events
2018-12-21 12:20:48 -06:00
Alex Maese
a803a007fb
Address @emersion's comments
2018-12-21 12:20:48 -06:00
Alex Maese
f5ea393bca
Remove pointer resource from relative pointer
2018-12-21 12:20:48 -06:00
Alex Maese
d0c940d796
Only send relative motion to correct seat
2018-12-21 12:20:48 -06:00
Alex Maese
09bdbf24f4
Removed relative pointers from wlr_seat
2018-12-21 12:20:48 -06:00
Alex Maese
f4cf3c0886
Remove wl_client from wlr_relative_pointer_v1
2018-12-21 12:20:48 -06:00
Alex Maese
a2964a640b
Add wlr_relative_pointer_v1.h to meson.build
2018-12-21 12:20:48 -06:00
random human
68137dca3f
relative_pointer: implementation and code fixes
...
In particular, modified public creator and destructor function names,
added a display destroy listener, safely extract user data from
resources, send correct time (in usecs) in rootston, etc.
2018-12-21 12:20:48 -06:00
random human
42ffa413fb
relative_pointer: add relative-pointer example
...
On left mouse button click, locks the cursor and renders relative motion
events.
2018-12-21 12:20:48 -06:00
random human
fb44ce9fa8
relative_pointer: send frame event to pointer for Xwayland
2018-12-21 12:20:48 -06:00
random human
6fa1777f94
relative_pointer: code formatting fixes
2018-12-21 12:20:48 -06:00
random human
d020344675
relative_pointer: implement protocol events
...
Implement zwp_relative_pointer_v1.relative_motion event, along with some
glue code in wlr_seat_pointer and rootston.
2018-12-21 12:20:48 -06:00
random human
ba5b1676df
relative_pointer: implement protocol requests
...
Flesh out the details of the structs, signals, callback functions, and
so on. weston-resizer silently works at this point (no events sent).
2018-12-21 12:20:48 -06:00
random human
3a3d1b6617
relative_pointer: create skeleton and build
...
Add protocol, header and type files to build. Create skeleton structs,
creator and destroyer, and define implementations.
2018-12-21 12:20:47 -06:00
emersion
82d36025e1
Merge pull request #1440 from sghctoma/fbsd-manifest
...
Fix FreeBSD build manifest
2018-12-21 14:33:32 +01:00
sghctoma
615b25fafc
Fix FreeBSD build manifest
...
Recent libinput-related changes in the ports tree made it necessary to
install devel/evdev-proto before x11/libinput.
2018-12-21 12:22:11 +01:00
emersion
36ba56140a
Merge pull request #1439 from ammen99/master
...
rootston: create foreign toplevel handle before sending outputs
2018-12-20 10:48:23 +01:00
Ilia Bozhinov
96861ccb7a
rootston: create foreign toplevel handle before sending outputs
...
Otherwise the initial list of outputs isn't sent to foreign-toplevel
clients.
2018-12-20 10:41:58 +01:00
emersion
c4c1d63a0c
Merge pull request #1435 from emersion/duplicate-custom-modes
...
backend/drm: don't insert duplicate custom modes, fix refresh rate
2018-12-16 18:23:36 +01:00
emersion
ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
2018-12-16 11:06:46 +01:00
emersion
6d4bfa3226
Merge pull request #1377 from tokyovigilante/switch-events
...
Add support for libinput_switch input devices
2018-12-15 19:54:25 +01:00
Ryan Walklin
f8129ecbc5
Remove unused variables
2018-12-15 14:59:51 +11:00
Ryan Walklin
282fcd458c
Improve event matching logic
2018-12-15 14:57:25 +11:00
Ryan Walklin
8f5ec5e2bb
Fix style nits
2018-12-15 14:57:12 +11:00
Ryan Walklin
810c7b700c
Working switches in rootston:
...
Factor out switch handling to separate file
Add formal enum for toggle action
Implement binding actions
2018-12-15 14:42:35 +11:00
Ryan Walklin
62a9cf87fa
Remove debug logs
2018-12-15 14:42:35 +11:00
Ryan Walklin
cd7a6daf48
Update config struct, reduce complexity and correctly parse config.ini
2018-12-15 14:42:35 +11:00
Ryan Walklin
cc656670b2
Remove redundant signal in seat.c
2018-12-15 14:42:35 +11:00
Ryan Walklin
2a7edfa24c
Factor out binding command execution to separate file
2018-12-15 14:42:35 +11:00
Ryan Walklin
2a3c62b4d2
[WIP][DONTMERGE]Add support for libinput_switch input devices
...
These are used primarily by laptops to signal
the state of the lid (open/closed) and tablet
mode if supported, based on ACPI events.
2018-12-15 14:42:35 +11:00