Commit graph

47 commits

Author SHA1 Message Date
Johan Malm
370d62beda Remove subprojects/seatd.wrap as no longer needed 2024-07-02 22:06:57 +02:00
Johan Malm
aab8061dee wlroots.wrap: set revision = 0.17 2023-11-27 21:01:53 +00:00
Consolatis
9eb7e69a04 Chase wlroots: use output commit event state
Chases: 5fb0007e0249388792f3772c30bfabf8d551dec0
output_event_commit: Remove committed and buffer
2023-11-27 21:01:53 +00:00
Consolatis
627179b277 Chase wlroots: drop KDE idle protocol
Chases: a289f812d62059d5aac92cbd374dcb7b03bb08a6
drop KDE idle protocol support
2023-11-27 21:01:53 +00:00
John Lindgren
96c85051ae Chase wlroots: add output to scene_output_layout explicitly
Chases: f5917f0247600b65edec1735234d00de57d577a8
scene_output_layout: make output adding explicit
2023-11-27 21:01:53 +00:00
Consolatis
1626092639 Chase wlroots: xdg-decoration now references a toplevel
Chases: bdc34401ba8e4a59b3464c17fa5acf43ca417e57
xdg-decoration: store an xdg_toplevel instead of xdg_surface
2023-11-27 21:01:53 +00:00
Consolatis
5292504d4a Chase wlroots: Remove workaround for missing forward declares
Chases: 657ca2205ff4d5f70cf294d9b5720acf2eaf76b4
wlr_gamma_control: add missing forward declarations
2023-11-27 21:01:53 +00:00
John Lindgren
277f417d8b Chase wlroots: add options argument to wlr_scene_output_commit()
Chases: 214df8eda07d18b032abfcf525c8344e077c0c7e
scene_output: optionally record and report timings
2023-11-27 21:01:53 +00:00
John Lindgren
9c5266ac76 Chase wlroots: Use wlr_cursor_set_xcursor()
Chases: 18bafbfc57039e16d1dabd78b882b3d6477f76b5
xcursor-manager: drop wlr_xcursor_manager_set_cursor_image()
2023-11-27 21:01:53 +00:00
Consolatis
4d49c8250c Chase wlroots: Add workaround for missing forward declares
Chases 70c1a5724814d2f786f7d3a0e55a05f11af14029
gamma-control-v1: introduce set_gamma event
2023-11-27 21:01:53 +00:00
Christopher Snowhill
d7dc6e01b4 Chase wlroots: Unified mapping
Need to handle new unified mapping, where mapping is attached to the
wlr_surface objects instead of their parents. Also, most of them require
a new associate event for xsurface objects, their surface member will be
NULL before this event is received.

Refactored by jlindgren:
- add struct mappable
- unify map/unmap logic
2023-11-27 21:01:53 +00:00
John Lindgren
dc6bc43282 Chase wlroots: Pass version to wlr_compositor_create()
Chases: 0bb574239d3b164596677bf4cec371ff0671dc4f
compositor: pass version in wlr_compositor_create
2023-11-27 21:01:53 +00:00
John Lindgren
404fabec92 Chase wlroots: wlr_scene_surface_from_buffer renamed
Chases: 7b32c25a4fbdcde4197a06c8e0ff638c54753bd7
wlr_scene: Rename wlr_scene_surface_from_buffer
2023-11-27 21:01:53 +00:00
John Lindgren
b5220a723e Chase wlroots: convert to try_from
Chases: 711a1a3ed42150fdbc716e80719d482006075f69
xdg-shell: convert to try_from

Chases: f9bd416d4156942ce3951a6c5cf9f81a3cf4a3dd
layer-shell-v1: convert to try_from

Chases: fbf5982e3838ee28b5345e98832f6956c402b225
xwayland/xwm: introduce wlr_xwayland_surface_try_from_wlr_surface()
2023-11-27 21:01:53 +00:00
Consolatis
d0b24f73d7 Chase wlroots: wlr_output_layout refactor
Chases 097ea84cda70a71ad8ea5940b3b3d277167424e5
output-layout: improve API
2023-11-27 21:01:53 +00:00
Consolatis
46e3e29e26 Chase wlroots: wlr_session refactor
Chases 41b7acbab78597e2eb0724e415ed94b910d113c1
backend: return wlr_session in wlr_backend_autocreate() call
2023-11-27 21:01:53 +00:00
Consolatis
fa849cc7e8 Chase wlroots: wlr_surface refactor
Chases 258bf9be1e44d8a2fb953d727ff4ffcf9ebd6503
compositor: drop wlr_surface.{sx,sy}
2023-11-27 21:01:53 +00:00
Consolatis
b4fc72b460 Chase wlroots: Layershell version
Chases 9f793d350379872aeee56ea5c476adfeedc8bc88
layer-shell-v1: specify version in constructor
2023-11-27 21:01:53 +00:00
Consolatis
5feda28f12 Chase wlroots: Update meson.build wlroots requirement to >= 0.17 2023-11-27 21:01:53 +00:00
Johan Malm
40302ceddd subprojects/wlroots.git: use 0.16 branch
There should be no API changes on this branch.
2022-12-20 20:48:17 +00:00
Johan Malm
3705fa702c wlroots.wrap: use 0.16.0 2022-11-17 22:13:55 +00:00
Consolatis
1aeae4b57e Chase wlroots: output test assert
This fixes an assert on output test when
running with the headless backend.

To update the wlroots subproject use
meson subprojects update wlroots

Chases wlroots 05454618cd2d49fb3a5f0c560b0d2c455cf32467
xwayland: split headers

Fixes #605
2022-11-03 18:02:07 +00:00
01micko
cfdf60b1da Chase wlroots: unreadable displays
This fixes an issue of unreadable displays in some
multiple output configurations.

To update the wlroots subproject use
meson subprojects update wlroots

Chases wlroots 694e9bbb9d7114f39311d93e885e010606a88dae
backend/drm: allocate connector CRTC on lease creation

Fixes #583
2022-10-08 01:27:56 +02:00
Consolatis
d15f30057e Chase wlroots: output cursor
To update the wlroots subproject use
meson subprojects update wlroots

Chases wlroots 68c8cef38edafa5e52532e0b43a4888554168361
cursor: Don't warp to (0,0) when last output is disconnected

Fixes #561
2022-09-29 14:10:21 +02:00
Consolatis
a32e1ff8f9 Chase wlroots: Culling
To update the wlroots subproject use
meson subprojects update wlroots

Chases wlroots fa7d2cb8d60ed48c44c707106c03682056ddfaca
wlr_scene: Only consider visible parts of the node when culling background

Fixes #501
2022-08-27 16:12:14 +01:00
Consolatis
a3d3878d28 Chase wlroots: wlr_input_device refactor
To update the wlroots subproject use
meson subprojects update wlroots

Chases wlroots 91943a68a6976ef7c4cc70afc07954a00fae678b
wlr_input_device: remove anon union field

Fixes #415
2022-06-25 17:13:55 +01:00
Consolatis
9c37101ec0 Chase wlroots: update wlroots.wrap to latest master
To update the wlroots subproject use
meson subprojects update wlroots

Fixes #382
2022-06-09 02:15:15 +02:00
Consolatis
138b1852c1 Chase wlroots: update wlroots.wrap to latest master
To update the wlroots subproject use
meson subprojects update wlroots
2022-06-07 07:13:37 +01:00
Consolatis
efd9155513 Chase wlroots: children are now only availabe in tree nodes
Chases wlroots 71f8a48d380701de1e3331d53d470bd76f5f643b
wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
08518513cc Chase wlroots: scene_node.state is now inlined
Chases wlroots cb2dbc327e4d695c2a60a386e116a7dc20b29107
wlr_scene: Inline wlr_scene_node_state
2022-06-07 07:13:37 +01:00
Consolatis
2ed7a10779 Chase wlroots: every scene_node parent is now a tree
Chases wlroots ccd0f85c2a36308e35b153c7f9653abac7659af3
wlr_scene: Only allow parenting on a wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
3f65a2ff77 Chase wlroots: wlr_scene is now a tree node
Chases wlroots 9eb71146ae56c509ee33c7e8a662549592aad870
wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
ccfcd04625 Revert "Fix dynamic output based scaling for menu and SSD"
As it turns out the reason for the workaround was a bug
in wlroots which got fixed in the meantime.

So to keep things simple just revert the workaround and
depend on the wlroots fix instead.

To update the wlroots subproject use
meson subprojects update wlroots

This reverts commit e87aa19066.
2022-05-30 21:27:33 +02:00
Consolatis
1e29d0606d Chase wlroots: xdg_popup.geometry
To update the wlroots subproject use
meson subprojects update wlroots

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3514
2022-05-30 17:54:26 +01:00
Consolatis
163179dda1 Chase wlroots: wlr_scene_surface
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-26 06:48:00 +01:00
Consolatis
d8a877749e Chase wlroots xdg_shell version
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-18 14:04:22 +02:00
Eli Schwartz
2656cf525f
meson: use proper dependency fallback for wlroots
Make the subproject wrap file declare the dependencies it provides.

Remove the manual subproject invocation and allow Meson to select
whichever wlroots it finds which satisfies the version requirement --
either a system one via pkg-config, or the subproject fallback.

Use a dependency-generic method of acquiring wlroots configuration info
-- enabled features are present in the pkg-config file and additionally
exported as declare_dependency() variables, so there is no need to do C
preprocessor checks for it.

This ensures that Meson best practices are followed, and also...

Fixes #318
2022-05-09 17:48:43 -04:00
Johan Malm
9f181de082 Move .gitignore to subprojects/
Because it keeps the toplevel directory cleaner
2022-05-03 20:55:24 +01:00
Johan Malm
2961807e89 subprojects/seatd.wrap: s/master/0.6.4/ 2022-05-03 20:53:41 +01:00
Johan Malm
286b2146c3 Chase wlroots X11 hints update 2022-04-20 18:48:49 +01:00
Johan Malm
cfca377ca2 wlroots.wrap: set revision to latest commit
This is better than `revision = master` because:

  - It enables labwc commits to be checked out and build without manually
    having to find the right wlroots commit to build with
  - The labwc master is always buildable without user intervention even
    if there are breaking changes in the wlroots master branch

Suggested in issue #289
2022-04-08 22:13:45 +01:00
Johan Malm
b79744e7b0 Chase wlroots master
We need it for wlr_scene_layer_surface_v1_create()
2022-02-23 21:47:01 +00:00
Johan Malm
e1328c055d wlroots.wrap: use 0.15.1 2022-02-07 16:53:37 +00:00
Johan Malm
a54ce40e1c wlroots.wrap: add .git to url to avoid redirection warning 2022-01-04 21:27:59 +00:00
Johan Malm
be300764b5 build: use wlroots 0.15.0 2021-12-26 22:42:51 +00:00
Johan Malm
ceb54d0236 wlroots.wrap: set url to https://gitlab.freedesktop.org/wlroots/wlroots 2021-11-01 22:07:18 +00:00
Ezequiel Garcia
ccfa7a60db meson: Use wrap files to manage dependencies
This simplifies building as there's no need to manually
git clone subprojects anymore.

Building is now as simple as:

    meson build
    ninja -C build

In order to update the subprojects, meson provides:

    meson subprojects update
2021-06-26 18:12:24 +01:00