2038 Commits (e92b272616ecd6618d2568c4e8d07228447ff72a)

Author SHA1 Message Date
Alexander Orzechowski 17f5414b1a wlr_scene: Parse out WLR_SCENE_DEBUG_DAMAGE
3 years ago
Manuel Stoeckl 9cae874513 screencopy-v1: Fix frame stride for formats with bpp != 32
3 years ago
Kirill Primak ee122c9c2a scene/output: check for NULL in destructor
3 years ago
Guido Günther 17b2b06633 seat: Allow to cancel touches
3 years ago
Alexander Orzechowski dc9bc5683a wlr_scene: Refactor wlr_scene_surface to be a helper on top of wlr_scene_buffer
3 years ago
Alexander Orzechowski 5f43e1732a wlr_scene: Introduce addons to scene nodes
3 years ago
Alexander Orzechowski 20cc1ce0b9 wlr_scene: Change out surface specific iterator functions
3 years ago
Alexander Orzechowski 5f56246571 wlr_scene: Pull scene_node_get_root into a private header
3 years ago
Alexander Orzechowski 39c059b70e wlr_scene: Make scene_buffer_from_node public
3 years ago
Alexander Orzechowski 73a656e8ac wlr_scene: Add a function to also specify damage when applying a buffer to wlr_scene_buffer
3 years ago
Alexander Orzechowski 34be5da072 wlr_scene: Add a way to choose when input interactions happen on a buffer
3 years ago
Alexander Orzechowski 09c7fe0f90 wlr_scene: Add frame_done signal for wlr_scene_buffer
3 years ago
Alexander Orzechowski a53eccf2af wlr_scene: Add primary_output property to wlr_scene_buffer
3 years ago
Alexander Orzechowski dfeb1309a8 wlr_scene: Add presentation signal for wlr_scene_buffer
3 years ago
Alexander Orzechowski 7e383c6a6a wlr_scene: Make wlr_scene_render_output private
3 years ago
Alexander Orzechowski 933ff0e60c wlr_scene: Fix missing calls to scene_node_update_outputs
3 years ago
Alexander Orzechowski c46b53d0b0 wlr_scene: Add output_enter/output_leave signals
3 years ago
Alexander Orzechowski 6ddb9e51bd wlr_scene_output: Send output leave events before destroying the output
3 years ago
Alexander Orzechowski 61dab42c70 wlr_scene: Add setter for buffer of a wlr_scene_buffer
3 years ago
Alexander Orzechowski 039a31df9a wlr_scene: Allow buffer in wlr_scene_buffer to be NULL
3 years ago
Simon Ser 8fe3aa29da xdg-shell: specify version in wlr_xdg_shell_create
3 years ago
Kirill Primak 8b0d4947cc xdg-toplevel: store states on the stack
3 years ago
Simon Ser 410c08cdc6 drm-lease-v1: skip device on wlr_drm_backend_get_non_master_fd failure
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Ferdinand Bachmann d3a2ea33e5 types/seat/wlr_seat.c: fix focused_client being null after seat_client recreation
3 years ago
Ferdinand Bachmann 2d4e813530 types/wlr_pointer_gestures_v1.c: get client from seat client instead of resource
3 years ago
Ferdinand Bachmann eedb9df531 types/wlr_pointer_gestures_v1: null-check both focused_surface and focused_client
3 years ago
Kirill Primak 4ba8458255 scene/output-layout: fix scene destroy handler
3 years ago
Kirill Primak dec2565f2b xdg-toplevel: don't schedule configures on state requests
3 years ago
Kirill Primak 04aa44b4df xdg-foreign-v2: treat unmapped parents as NULL
3 years ago
Kirill Primak dac040f87f xdg-foreign-v1: treat unmapped parents as NULL
3 years ago
Kirill Primak bf3f60ff73 xdg-toplevel: treat unmapped parents as NULL
3 years ago
Guido Günther dd03d839ab xdg-activation: Deduplicate token creation code
3 years ago
Leonardo Hernández Hernández 4519117a68 seat: take wlr_keyboard in wlr_seat_set_keyboard()
3 years ago
Guido Günther 4cc2a03620 layer-shell: Make wlr_layer_surface_v1_from_resource public
3 years ago
Simon Zeni aaf787ee56 types/wlr_touch: uniformize events name
3 years ago
Simon Zeni e732c5c895 types/wlr_tablet_tool: uniformize events name
3 years ago
Simon Zeni 9a17200446 types/wlr_keyboard: uniformize events name
3 years ago
Simon Zeni bd6c000d14 types/wlr_pointer: uniformize events name
3 years ago
Simon Zeni a92e5f8d46 types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch
3 years ago
Alexander Orzechowski 74381f3bc3 types/wlr_output: Handle subpixel hints through output commits
3 years ago
Simon Ser 68f2f8cf92 Revert "scene: try to import buffers as textures before rendering"
3 years ago
Kirill Primak 2d623724c3 xdg-positioner: fix sliding regression
3 years ago
Simon Zeni 4c8ecfcd4a types/wlr_virtual_pointer_v1: remove destroy event
3 years ago
Simon Zeni 45c8771735 types/wlr_virtual_keyboard_v1: remove destroy event
3 years ago
Simon Zeni eae8952e17 types/wlr_keyboard: remove destroy event
3 years ago
David96 7a2c96dcbd types/wlr_tablet_tool: remove name ambiguity
3 years ago
Sebastian Krzyszkowiak 13fcdba75c wlr_output_layout_contains_point: handle outputs that aren't in the layout
3 years ago
Alexander Orzechowski f330759ba4 wlr_output_damage: Don't schedule a new frame if damage region does not intersect with output
3 years ago
Alexander Orzechowski fbd4d40318 wlr_output_damage: Use wlr_output_damage_add for wlr_output_damage_add_box
3 years ago
Simon Zeni cfed039c9a types/wlr_input_device: move init and finish function to private API
3 years ago
Simon Zeni 1bb2631c5c types/wlr_input_device: remove wlr_input_device_destroy
3 years ago
Simon Zeni 10cbb9fbe1 interface/wlr_touch: rework destroy sequence
3 years ago
Simon Zeni 8d3cb94b41 interface/wlr_tablet_tool: rework destroy sequence
3 years ago
Simon Zeni a5b032cb1e interface/wlr_tablet_pad: rework destroy sequence
3 years ago
Simon Zeni 0d2be496a8 interface/wlr_switch: rework destroy sequence
3 years ago
Simon Zeni 51cd3c0726 interface/wlr_pointer: rework destroy sequence
3 years ago
Simon Zeni 7dc4a3ecd7 interface/wlr_keyboard: rework destroy sequence
3 years ago
Simon Ser 39b68ea47a buffer: extract interface to separate header
3 years ago
Simon Zeni c84744321e types/wlr_virtual_pointer_v1: fix wlr_pointer destroy sequence
3 years ago
Simon Zeni cdb3e80b39 types/wlr_virtual_keyboard_v1: fix wlr_keyboard destroy sequence
3 years ago
Simon Zeni e279266f71 interfaces: remove wlr_input_device_impl
3 years ago
Simon Zeni 1acc931cf0 types/wlr_switch: constify impl
3 years ago
Simon Zeni f1181c34ed types/wlr_tablet_pad: constify impl
3 years ago
Kirill Primak 511f137f8f xdg-positioner: rewrite unconstraining, untie from xdg-popup
3 years ago
Kirill Primak 5879e77d68 xdg-positioner: rename structs
3 years ago
Kirill Primak b5b15b2625 xdg-{toplevel,popup}: extract destructors
3 years ago
Simon Zeni edfb332b24 types/wlr_touch: add base wlr_input_device
3 years ago
Simon Zeni 7dfee50350 types/wlr_tablet_tool: add base wlr_input_device
3 years ago
Simon Zeni a662743610 types/wlr_tablet_pad: add base wlr_input_device
3 years ago
Simon Zeni 0f3b38365d types/wlr_switch: add base wlr_input_device
3 years ago
Simon Zeni d5480efc7a types/wlr_pointer: add base wlr_input_device
3 years ago
Simon Zeni a1978b1299 types/wlr_keyboard: add base wlr_input_device
3 years ago
Simon Zeni 130c3bcf63 types/wlr_input_device: call the specialized input device destroy function on destroy
3 years ago
Simon Zeni fd80329c53 interfaces/wlr_input_device: introduce wlr_input_device_finish
3 years ago
Simon Zeni 71577e351e types/wlr_input_device: default vendor and product id to 0
3 years ago
Roman Gilg cff4abc5b1 output: clear buffer created for test
3 years ago
Isaac Freund 252b2348bd
wlr_cursor: constify map to region box arguments
3 years ago
Kirill Primak c1a2c09ade xdg-popup: send invalid_positioner to the right resource
3 years ago
Kirill Primak 7ed60c54a0 xdg-surface: avoid emitting signals with their owner object
3 years ago
Kirill Primak 34a71eae31 xdg-shell: drop wlr_xdg_toplevel_set_fullscreen_event
3 years ago
Kirill Primak fd3a2a0906 xdg-surface: minor consistency renaming
3 years ago
Kirill Primak 88f3040438 xdg-popup: destroy popup-less grab
3 years ago
Kirill Primak d2b36b7bd1 xdg-shell: fix potential use-after-free
3 years ago
Kirill Primak c35d14ecfa xdg-shell: extract role-specific unmap logic
3 years ago
Kirill Primak e59aa3e0e7 xdg-toplevel: change object type in event structs
3 years ago
Kirill Primak 1e4c1a3b58 xdg-toplevel: change parent type to xdg-toplevel
3 years ago
Kirill Primak 27c8865a4d xdg-shell: unify function arguments' names
3 years ago
Kirill Primak 41412cadbe xdg-popup: fix functions' main argument type
3 years ago
Kirill Primak affe0d8713 xdg-toplevel: fix functions' main argument type
3 years ago
Kirill Primak ee52c32915 xdg-shell: fix create_xdg_popup() param type
3 years ago
Kirill Primak 05dd990e43 xdg-shell: rename surface role handlers
3 years ago
Alexander Orzechowski cddc1c1bd9 xdg-foreign: Fix crash on destroy of degenerate surface
3 years ago
Isaac Freund 9de992b9fe
ext-session-lock-v1: new protocol implementation
3 years ago
Kenny Levinsen 1e3662ce57 scene: Add layer_shell_v1 helper
3 years ago
Simon Ser 3db1bcbe64 scene: try to import buffers as textures before rendering
3 years ago
Kirill Primak 3cfe29b598 cursor: ensure mapping box is always initialized
3 years ago
Kirill Primak ba6ba4b07a cursor: store mapped_box as value
3 years ago
Kirill Primak 49fa060442 output-layout: remove useless types/fields
3 years ago
Kirill Primak 498f30aad1 output-layout: make wlr_output_layout_get_box() take a box as parameter
3 years ago
Isaac Freund 2c59435e82
xdg-output: remove dead code
3 years ago
Kirill Primak 77951968dc subsurface: unlock cached state on commit if desynced
3 years ago
Kirill Primak da2491d416 compositor: damage the whole buffer on viewport src change
3 years ago
Simon Ser 1d1b845410 subcompositor: destroy subsurface with parent
3 years ago
Simon Ser 7ce966a5d4 subcompositor: document subsurface_from_resource
3 years ago
Isaac Freund 1bd0ea3a80
foreign-toplevel: send enter if needed on output bind
3 years ago
Tadeo Kondrak 5091118bed input_method_v2: improve mapping detection
3 years ago
Kirill Primak 50827ed7f5 surface: improve role precommit hook
3 years ago
Kirill Primak 617eb4fb93 surface: deprecate wlr_surface.h
3 years ago
Kirill Primak 36b5d5888c surface: move impl to types/wlr_{sub,}compositor.c
3 years ago
Kirill Primak 4ec683ad1c surface: introduce events.client_commit
3 years ago
Kirill Primak b6f43ab2e1 subcompositor: split out from compositor
3 years ago
Kirill Primak 83ab5055fd scene/subsurface_tree: fix handling subsurface destruction
3 years ago
Simon Ser 812951f5bc scene: schedule an output frame on wl_surface.frame
3 years ago
Isaac Freund 92d137c78a layer-shell: fix type of margins
3 years ago
Stacy Harper 8e566f716c layer-shell: don't set committed flag if the property didn't change
3 years ago
Isaac Freund 07ccc6e0b3
scene: add wlr_scene_set_presentation()
3 years ago
Simon Ser 4377b55292 util/global: remove wl_display arg from wlr_global_destroy_safe
3 years ago
Guido Günther 4c59f7d46a xdg-activation: Allow to submit tokens
3 years ago
David Rosca 31914928d2
seat: Only resend keyboard/pointer enter to focused clients
3 years ago
Isaac Freund 1c3e0816f3
scene: fix wlr_scene_send_frame_done() API
3 years ago
Isaac Freund fecde72be3 scene: add wlr_scene_send_frame_done()
3 years ago
Isaac Freund fb1f613510 scene: add primary output to wlr_scene_surface
3 years ago
Isaac Freund 0215dffba5 scene: send surface enter/leave output events
3 years ago
Simon Ser e3fefda023 output: add support for protocol interface version 4
3 years ago
Kirill Primak 0fcc842291 subsurface: don't add to parent list immediately
3 years ago
Kirill Primak 7964bdae76 surface: fix non-buffer damage handling
3 years ago
Kirill Primak df7d280343 subsurface: apply position change at the right moment
3 years ago
Kirill Primak f463ca669a subsurface: simplify and fix parent commit handling
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser c50c4fc5cc linux-dmabuf-v1: add per-surface feedback
3 years ago
Simon Ser 1d8340754b linux-dmabuf-v1: implement v4
3 years ago
Kirill Primak c9f3c2b4f7 surface: fix damage transformation
3 years ago
tiosgz ca1af8119c Fix wlr_scene_node_lower_to_bottom
3 years ago
Simon Ser efeb8346cf output: drop front_buffer
3 years ago
Simon Ser 45069fb623 screencopy-v1: use wlr_output_event_commit.buffer
3 years ago
Simon Ser 60b7267e18 export-dmabuf-v1: use wlr_output_event_commit.buffer
3 years ago
Simon Ser f016eca97c output: add wlr_output_event_commit.buffer
3 years ago
Simon Ser 0d32118a80 output: fix modifier stripping
3 years ago
Simon Ser ba974a4e9f scene: add wlr_scene_get_scene_output
3 years ago
Simon Zeni dd84c5a1cc types/wlr_drm_lease_v1: add NULL check to drm lease resource destroy
3 years ago
Simon Ser 697a1cd0f5 output: add wlr_output_get_primary_formats
3 years ago
Simon Ser 2540de494e output: don't leave dangling cursor_front_buffer
3 years ago
Simon Ser 456b971099 output: destroy swapchain when disabled
3 years ago
Rouven Czerwinski 6bfb930aa7 linux-dmabuf-v1: fix implicit check
3 years ago
John Lindgren bff5b2c559 Insert new outputs at the end of the list
3 years ago
Jonathan Wong 0fb479ca61 Added whitespace between "output" and "(not"
3 years ago
Rouven Czerwinski d37eb5c2ea linux-dmabuf-v1: filter out LINEAR if implicit
3 years ago
Simon Ser 254ab890e7 scene: add support for viewporter
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 585a908a01 scene: add wlr_scene_xdg_surface_create
3 years ago
Isaac Freund c9ba9e82b6
wlr_drag: emit destroy after wl_data_device.leave
3 years ago
Simon Ser 3d73b899ff linux-dmabuf-v1: hide wlr_linux_buffer_params_v1
3 years ago
Simon Ser 6bb8973309 drm-lease-v1: listen to lease destroy event
3 years ago
Simon Ser 86f5ecf468 backend/drm: introduce wlr_drm_lease
3 years ago
Manuel Stoeckl d0bb7df630 output: remove XRGB8888 cursor fallback format
3 years ago
Manuel Stoeckl e879d566bb output: Add function to set preferred render format
3 years ago
Manuel Stoeckl 3d7d6ec06f output: use XRGB8888 format instead of ARGB8888
3 years ago
Manuel Stoeckl 7508f87fcb output: lift up output format fallback logic
3 years ago
Simon Ser 33eba9080c output: fix renderer buffer cap sanity check in wlr_output_init_render
3 years ago
Simon Zeni 5a98eae0dc types/wlr_scene: use renderer from wlr_output
3 years ago
Simon Zeni d07c87f668 types/wlr_screencopy_v1: use renderer from output
3 years ago
Simon Ser 142d10e591 output: add wlr_output_init_render
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Simon Ser 9a4e1095ca linux-dmabuf-v1: properly validate flags
3 years ago
Isaac Freund ab16861e86 text-input: fix type of send_preedit_string() args
3 years ago
Simon Ser 76bab68e70 output: drop wlr_output_export_dmabuf
3 years ago
Simon Ser fa77aeb80e screencopy-v1: stop using wlr_output_export_dmabuf
3 years ago
Simon Ser f20c49d78a export-dmabuf-v1: stop using wlr_output_export_dmabuf
3 years ago
Isaac Freund e326b76959
text-input/input-method: handle strdup() failure
3 years ago
Simon Ser eb5f23d6d0 scene: fix calloc size mismatch
3 years ago
Isaac Freund 8634dd3e6a
output: fix leak of wlr_drm_format
3 years ago
tiosgz cc2ebd9fc0 scene/subsurface_tree: hide unmapped subsurfaces
3 years ago
Ronan Pigott e2aff8a9b0 xdg-activation-v1: add data field and emit token destroy events
3 years ago
Ronan Pigott 6ad0f819e2 xdg-activation-v1: enable compositors to request their own tokens
3 years ago
Simon Ser b2f6ff45c2 output: fix stack variable lifetime in wlr_output_send_present
3 years ago
Simon Ser 3b96aa04db sceeencopy-v1: listen to output destroy in capture_output
3 years ago
Simon Ser a80f2b2816 scene: inline subsurface_tree_destroy
3 years ago
Simon Ser bf42630d32 output: refuse to enable with zero mode
3 years ago
Simon Ser 3d6ca9942d xdg-foreign-v2: use error enum
3 years ago
Simon Ser fb393ddf84 output: split into multiple files
3 years ago
Simon Ser a4ccca0834 scene: add support for direct scan-out
3 years ago
Simon Ser db4c93028d scene: add wlr_scene_output_for_each_surface
3 years ago
Kirill Primak 6c3a71d9f6 presentation-time: use a surface addon
3 years ago
Simon Ser f7ea33da0a scene: remove surface commit listener when node is destroyed
3 years ago
Kirill Primak 2edf468aeb presentation-time: don't send presented on discard
3 years ago
Kirill Primak 2af8cc769a output: add presented flag to presentation event
3 years ago
Kirill Primak 1089b7b8d6 output: disallow NULL event for wlr_output_send_present()
3 years ago
Isaac Freund 4fae8f7be3 scene: add functions to place node on top/bottom
3 years ago
Isaac Freund 2a8d385386 scene: assert that node != sibling in place above/below
3 years ago
Kirill Primak c3e54021f8 xdg-decoration: refactor configure/state flow
3 years ago
Kirill Primak cdaab82020 layer-shell: move NULL buffer check to role precommit handler
3 years ago
Kirill Primak 28248dd83b xdg-shell: remove redundant NULL buffer check
3 years ago
tiosgz ce66244fd2 surface_at: check if surfaces are mapped
3 years ago
tiosgz 893434b2d4 for_each_surface: only iterate mapped surfaces
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 744a5c2fef xdg-shell: stop clearing wlr_xdg_surface state on unmap
3 years ago
Simon Ser 665a164f27 xdg-shell: rename wlr_xdg_surface.next_configure_serial
3 years ago
Simon Ser 0e34208344 xdg-shell: introduce wlr_xdg_surface.current
3 years ago