Commit Graph

4213 Commits

Author SHA1 Message Date
Ryan Dwyer 9b4be5a595 Introduce noop backend
The noop backend is similar to headless, but it doesn't contain a
renderer. It can be used as a place to stash views for when there's no
physical outputs connected.
2019-01-17 20:13:55 +10:00
emersion 10b1de6e71
Merge pull request #1471 from SimulaVR/tinywl-lib-order
Fix tinywl linking order (#1463)
2019-01-16 16:44:46 +01:00
David Kraeutmann 4b3414e065 Fix tinywl linking order (#1463) 2019-01-16 16:39:14 +01:00
emersion dc9c91b0a4
Merge pull request #1461 from c-edw/feature/WLRToplevelAndPopup
Remove wlr_xdg_surface_send_close.
2019-01-15 09:09:08 +01:00
Connor E b1cdd2b4b3 Use assertions instead of guard. 2019-01-14 16:05:24 +00:00
Drew DeVault 10a2c4edec
Merge pull request #1462 from alexbakker/fix-soft-cursors
Fix software cursor rendering for tinywl and some examples
2019-01-13 15:45:08 -05:00
Alexander Bakker 776b6ce395 Fix software cursor rendering for tinywl and some examples 2019-01-13 21:39:56 +01:00
Connor E e7fff4f560 Remove wlr_xdg_surface_send_close. 2019-01-13 14:22:49 +00:00
emersion 8134d5b1e0
Merge pull request #1459 from swaywm/wl-output-title
Add wlr_wl_output_set_title
2019-01-12 00:13:54 +01:00
Drew DeVault d3d1437bc4 Add wlr_wl_output_set_title 2019-01-10 21:53:32 -05:00
Drew DeVault 9921f9b28d Remove unused struct from tinywl 2019-01-10 21:18:52 -05:00
emersion f245caac9e
Merge pull request #1457 from swaywm/xdg-shell
Update Wayland backend to xdg-shell stable
2019-01-10 16:16:49 +01:00
Drew DeVault 1840c8c130
Merge pull request #1455 from emersion/codespell
Fix a few typos
2019-01-10 09:18:39 -05:00
Drew DeVault 97af2464b7 Update Wayland backend to xdg-shell stable 2019-01-10 09:17:14 -05:00
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 86f263a0b8
fullscreen-shell-v1: initial protocol implementation 2019-01-06 12:12:06 +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