Commit graph

80 commits

Author SHA1 Message Date
Consolatis
259803178e [wip] chase wlroots: track master branch 2025-10-19 05:34:23 +02:00
tokyo4j
e764fc4964 chase wlroots: ime: don't use data in kb grab destroy handler (MR 5170)
Ref: 06275103f249cd2954630e59383342e102a6c1a3
(input-method-v2: Destroy keyboard grab before input method)

Background:

My MR in wlroots (!5107) stopped emitting `wlr_input_method_v2`
on its `commit`/`destroy` events, but didn't stop emitting
`wlr_input_method_keyboard_grab_v2` on its `destroy` event. That was
because `handle_keyboard_grab_destroy()` was called *after*
`handle_input_method_destroy()` for some reason, which caused segfault
when dereferencing `relay->input_method.keyboard_grab` in
`handle_keyboard_grab_destroy()`.

MR 5170 reversed this weired order of destroy handler calls, and finally
stopped emitting `wlr_input_method_keyboard_grab_v2` on its `destroy`
event.
2025-10-19 05:33:54 +02:00
Consolatis
a71723f1ba chase wlroots: ime: rename to new_input_method (MR 5107)
Ref: 06aacb2a6fd237a5e1062d611909432bbcf5b566
(input-method: rename input_method event to new_input_method)
2025-10-19 05:32:41 +02:00
Consolatis
c9b9c3d227 chase wlroots: ime: rename to new_text_input (MR 5032)
Ref: 536100488fc4c64528786801860f96cfa1a55765
(text-input-v3: Name new text input event correctly)
2025-10-19 05:32:41 +02:00
Consolatis
a9f1145802 chase wlroots: increase wlroots meson dep 2025-10-19 05:32:41 +02:00
Johan Malm
bfa3e54c9d wlroots.wrap: use branch not tag
Make revision= track the 0.19 branch rather than a specific tag.
2025-05-22 23:30:08 +02:00
Consolatis
08a6e29eb9 Update to wlroots 0.19.0 release 2025-05-21 06:36:08 +01:00
John Lindgren
8010f6e659 chase wlroots: remove #include <wlr/types/wlr_matrix.h>
Ref: 9b55737cf512ae5132b10633b83e099d46fa259f
("Make wlr_matrix private API")
2025-05-21 06:36:08 +01:00
Consolatis
d7ecbbd50c chase wlroots: add wlr_buffer_finish() to buffer destroy handler
Ref: 7963ba6a0deb5b696050d914ac395bca9c4c06b2
("buffer: introduce wlr_buffer_finish()")
2025-05-21 06:36:08 +01:00
Consolatis
d285b74a7b chase wlroots: new presentation_time version MR 4858
Ref: 4c74a8843a08a39d6278de4a26759d93155feb2c
("presentation-time: bump protocol version to v2")
2025-05-21 06:36:08 +01:00
Consolatis
0c2cf61895 chase wlroots: use WLR_PRIVATE (MR 4842)
Ref: 6006023a377868187f73d2e0922bbe952072684f
("Use WLR_PRIVATE for private fields")
2025-05-21 06:36:08 +01:00
tokyo4j
2b1923c867 chase wlroots: simplify transforms in scene-helpers (MR 4819/4845)
Ref: 009515161bd97d8f920d72d31ef462f2608688e8
("scene: Only accept buffer coordinates for damage")

Note:
MR 4819 is immediately followed by MR 4845.
MR 4819 removes return value of wlr_damage_ring_add().
MR 4845 applies applies buffer-local coordinates for
scene_output->damage_ring instead of transformed coordinates.
2025-05-21 06:36:08 +01:00
Consolatis
6caa2a8830 chase wlroots: wlr_damage_ring_add no return val (MR 4817)
Ref: 502eb38d80eb5a273f5481ec8559cb35d726f5da
("damage_ring: Remove return value of wlr_damage_ring_add/wlr_damage_ring_add_box")
2025-05-21 06:36:08 +01:00
Consolatis
1dc4e7ed28 chase wlroots: wlr_xdg_surface_get_geometry remove MR 4788
Ref: 5c98d1a04a1439bf40c6e516086cfaff2d67f135
("xdg-surface: fix window geometry handling")
2025-05-21 06:36:08 +01:00
tokyo4j
261126fcd0 chase wlroots: let scene restack xwayland surfaces (MR 4756)
Ref: 1133bc15ceb2c2bcb6df692acda6bfa39a292ab5
("Transparently restack xwayland surfaces")

In addition, MR 4772 makes sure the hidden windows are stacked at the
bottom, just like what we did with XWAYLAND_VIEW_HIDDEN.
2025-05-21 06:36:08 +01:00
Consolatis
1eaba4af33 chase wlroots: xwayland separate maximized axis MR 4670
Ref: ceb4fcedca30d323a05836b0872bfe773a047ccc
("xwm: expose individual axis for _set_maximized()")
2025-05-21 06:36:08 +01:00
Consolatis
a617accfd8 chase wlroots: _wants_focus and input_model renames MR 2434
Ref: d3b7e040af46ab03114d5a40e9ed0c7c6aff15be
("wlr_xwayland_surface: fix prefix of two functions")
2025-05-21 06:36:08 +01:00
Consolatis
a5db63c472 chase wlroots: wlr_surface_accepts args MR 2434
Ref: 5ecbd23c1d44119cb32b345782d50c9664853109
("wlr_surface: fix argument order consistency")
2025-05-21 06:36:08 +01:00
John Lindgren
cb0db3542d chase wlroots: pin to first 0.19.0-dev commit
Ref: b10516e1e8352f3140d68fa580b0ed32e13c2d58
("build: bump version to 0.19.0-dev")
2025-05-21 06:36:08 +01:00
Consolatis
93f817e20e chase: wlroots.wrap: track the wlroots 0.18 branch 2024-07-17 21:28:59 +01:00
Consolatis
0d00e9a232 chase: move to stable tablet protocol and require w-p >= 1.35
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4645
2024-07-17 21:28:59 +01:00
Consolatis
924e31f089 chase: version pkgconfig, headers, and library
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4614
2024-07-17 21:28:59 +01:00
Consolatis
d16c6dd63a chase: tablet_pad to tablet
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4585
2024-07-17 21:28:59 +01:00
Consolatis
5c6e1ed878 chase: use wayland pointer enums rather than wlr ones
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
2024-07-17 21:28:59 +01:00
Consolatis
d8d45dc2cb chase: request initial configure
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4396
2024-07-17 21:28:59 +01:00
Consolatis
0a03c00b8b chase: backend create now requires event_loop arg
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4443
2024-07-17 21:28:59 +01:00
Consolatis
36b0dc2db4 chase: output->pending
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4202
2024-07-17 21:28:59 +01:00
Consolatis
0d354519e8 chase: relative axis direction
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4003
2024-07-17 21:28:59 +01:00
Consolatis
d8f57fe4e7 chase: presentation is now handled internally
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4482
2024-07-17 21:28:59 +01:00
Consolatis
72fd2af4f2 chase: tearing hint
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4480
2024-07-17 21:28:59 +01:00
Consolatis
6becc02ca4 chase: let wlr_scene track damage again
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4253
2024-07-17 21:28:59 +01:00
Consolatis
3b2ab4a48e chase: move xdg destroy signal to toplevel / popup
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4345
2024-07-17 21:28:59 +01:00
Consolatis
50047db8b2 chase: output-layout takes wl_display in constructor
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
2024-07-17 21:28:59 +01:00
Consolatis
d37309008c chase: disable restacking of unmanaged windows
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4052
2024-07-17 21:28:59 +01:00
Consolatis
3e614814fe chase: input inhibit removal
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4440
2024-07-17 21:28:59 +01:00
Consolatis
d1fbb3c7cc chase: wlroots version dep to 0.18 2024-07-17 21:28:59 +01: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