Commit graph

3448 commits

Author SHA1 Message Date
emersion
0fafab87e3
Fix a few typos 2019-01-10 09:30:14 +01:00
Drew DeVault
fe187fc887
Merge pull request #1454 from jbeich/freebsd
Simplify FreeBSD build
2019-01-07 15:24:28 -05:00
Jan Beich
bfd0254485 Update FreeBSD build
- Switch to packages
- Drop unused dependencies
2019-01-07 08:26:16 +00:00
Jan Beich
f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
As evdev-proto is installed by CI some files have been missed:

 ../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found
 #include <linux/input-event-codes.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 ../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found
 #include <linux/input-event-codes.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-01-07 08:08:47 +00:00
Drew DeVault
e61ea7706b
Merge pull request #1423 from emersion/data-control
Implement data-control-unstable-v1
2019-01-06 22:41:35 -05:00
emersion
e1eceddecf
Merge pull request #1451 from emersion/relative-pointer-send
relative-pointer-v1: move pointer iteration in wlroots
2019-01-06 14:39:20 +01:00
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
emersion
69e7fd61b7
data-control-v1: update to latest protocol proposal 2018-12-30 02:52:03 +01:00
emersion
340281b48a
data-control-v1: fix data source not properly destroyed 2018-12-30 02:48:04 +01:00
emersion
a28167c255
data-control-v1: allow clearing selection 2018-12-30 02:48:03 +01:00
emersion
ae1dd635b1
data-device: fix dangling listener in seat_client_selection_source_destroy 2018-12-30 02:48:03 +01:00
emersion
aa2dafb7c8
data-control-v1: fix crash in manager_handle_get_data_control 2018-12-30 02:48:03 +01:00
emersion
4423630687
data-control-v1: update protocol to allow NULL selections 2018-12-30 02:48:03 +01:00
emersion
1e581ad95c
data-control-v1: fix crash after wlr_data_control_v1_destroy 2018-12-30 02:48:03 +01:00
emersion
99d879c887
data-control-v1: initial protocol implementation 2018-12-30 02:48:03 +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