Commit graph

3411 commits

Author SHA1 Message Date
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
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
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
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
emersion
8a56b96c55
Merge pull request #1434 from martinetd/xwayland_clearenv
xwayland: remove clearenv() call
2018-12-13 08:13:23 +01:00
Dominique Martinet
384642b394 xwayland: remove clearenv() call
This has been causing troubles for some of our users and only been there
for legacy reasons, we trust Xwayland just as much as your next program
and weston doesn't take any such care when starting it.
2018-12-13 09:06:28 +09:00
Drew DeVault
ef9506b0bc
Merge pull request #1433 from ammen99/fix-layer-shell-unconstrain
xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
2018-12-12 07:48:21 -05:00
Ilia Bozhinov
07865104e1 xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
The previous code resulted in a crash when we try to unconstrain a popup
which is part of a layer-shell surface popup tree.

Fixes #1425
2018-12-12 08:51:13 +01:00
Drew DeVault
6161a153c8
Merge pull request #1426 from emersion/drm-disappear-index
backend/drm: fix disappeared output indices
2018-12-09 12:54:52 -05:00
Drew DeVault
25b150352c
Merge pull request #1429 from emersion/primary-serial-validation
gtk-primary-selection: basic serial validation
2018-12-09 10:44:50 -05:00
emersion
c2113decb3
gtk-primary-selection: warn when offering MIME type after set_selection 2018-12-09 12:42:27 +01:00
emersion
8c573bc7c6
gtk-primary-selection: basic serial validation 2018-12-09 12:38:35 +01:00
Scott Anderson
fec88770dd backend/drm: Fix uninitialized variable 2018-12-09 22:55:53 +13:00
Scott Anderson
efdd4d6ea2 backend/drm: Improve encoder logic
This fixes an issue that can occur with DP MST connectors not reporting
any encoders.
2018-12-09 22:48:00 +13:00
emersion
f8056a0350
backend/drm: fix disappeared output indices
This commit changes `scan_drm_connectors` to add new outputs to the end of the
list. That way, it's easier to understand what's going on with indices.

When we need to destroy outputs, we now walk the list in reverse order. This
ensures indices remain correct while iterating and removing items from the
list.

We now also make outputs without a CRTC disappear (those are in
WLR_DRM_CONN_NEEDS_MODESET state).
2018-12-09 10:12:52 +01:00
emersion
3699496256
Merge pull request #1201 from ammen99/master
Implement wlr-foreign-toplevel-management-unstable-v1
2018-12-09 00:36:00 +01:00
Ilia Bozhinov
16175751d6 examples: add wlr_foreign_toplevel_management_v1 example 2018-12-08 14:09:56 +01:00
Ilia Bozhinov
8cce2d75a9 rootston: add support for wlr_foreign_toplevel_management_v1 2018-12-08 14:09:51 +01:00
Ilia Bozhinov
f387a840d8 rootston: add title/app_id/class listeners 2018-12-08 14:09:30 +01:00
Ilia Bozhinov
5b1b9657bf types: implement wlr_foreign_toplevel_management_v1 2018-12-08 14:09:30 +01:00
Drew DeVault
e75075dfa2
Merge pull request #1422 from emersion/dmabuf-export-destroy
export-dmabuf-v1: add missing destroy request handler
2018-12-06 18:03:42 -05:00
Drew DeVault
20f5fc9e2e
Merge pull request #1413 from emersion/logind-session-logs
backend/session/logind: improve logging
2018-12-06 18:03:33 -05:00
emersion
1256314afe
export-dmabuf-v1: add missing destroy request handler
Also document lists in the header file.
2018-12-06 19:08:28 +01:00
emersion
e23fe328a6
backend/session/logind: improve logging 2018-12-06 17:01:17 +01:00
Drew DeVault
8cb4df2a30
Merge pull request #1416 from kragniz/rootston-use-box
rootston: use box for views position
2018-12-06 07:30:19 -05:00
Drew DeVault
e539a8b208
Merge pull request #1419 from emersion/ci-alpine
ci: add Alpine build
2018-12-06 07:27:19 -05:00
Louis Taylor
0f3a061f60
rootston: use box for views position 2018-12-05 19:20:50 +00:00