2095 Commits (b97ef593938e94f2c0c9c1d08f0b83dbb9a8c1c6)

Author SHA1 Message Date
Kirill Primak e0accb2d50 types: add wlr_damage_ring
3 years ago
Simon Ser 10a821a87d output: fix missing buffer when using direct scanout
3 years ago
Kenny Levinsen 03dc7e2df5 wlr_{keyboard,pointer,touch}: Update event docs
3 years ago
Isaac Freund 91943a68a6 wlr_input_device: remove anon union field
3 years ago
Kirill Primak 5c4384a133 xdg-popup: use configure fields
3 years ago
Kirill Primak 8d2fa15e9d xdg-toplevel: post no memory on strdup() fail
3 years ago
Kirill Primak ec8b49c93f subcompositor: consider map on creation
3 years ago
Rouven Czerwinski 2a1d7d40f4 cursor: re-enable NULL buffer for cursor
3 years ago
Simon Ser d89285f783 output-management-v1: add wlr_output_head_v1_state_apply()
3 years ago
Simon Ser 29291cb47c render/texture: drop wlr_texture_is_opaque
3 years ago
Kirill Primak e7b217efb9 xdg-shell: improve shell version check
3 years ago
Johan Malm d57d2e0e36 scene/layer_shell_v1.c: fix bug in width/height calculations
3 years ago
Simon Ser 96b594110d matrix: remove wlr_matrix_projection()
3 years ago
Simon Ser c2e4ba1dd0 output: use state setters in wlr_output_set_*
3 years ago
Simon Ser 43a9b0fbb9 output: compare state before commit
3 years ago
Simon Ser 6688a3d9ea output: add output state setters
3 years ago
Consolatis 0173275f7e scene/output_layout: Fix crash in scene_output_layout_output_destroy
3 years ago
Simon Ser 09498499f6 output: fix make/model/serial memory leak
3 years ago
Isaac Freund 0deef6fe44 output: fix leak of empty back buffer lock
3 years ago
Simon Ser 99f63b03e7 Remove remaining wl_signal_emit calls
3 years ago
Alexander Orzechowski 808e660291 wlr_output_commit_state: Make sure to clear the back buffer
3 years ago
Alexander Orzechowski cc5a02e75d wlr_scene_buffer: Update primary_output on output destroy
3 years ago
Alexander Orzechowski 4772eec93d wlr_scene_buffer: Call output enter/leave after primary_output calculation
3 years ago
Simon Ser e383c1f1db xdg-shell: add support for v4
3 years ago
Simon Ser 18595000f3 compositor: send WL_SURFACE_ERROR_INVALID_SIZE for non-cursor surfaces
3 years ago
Kirill Primak 1284f85da4 scene/output-layout: add initial outputs
3 years ago
Kirill Primak 0c2eed533e scene/output-layout: improve ownership logic
3 years ago
Kirill Primak d3bc17d5d1 scene: add wlr_scene_output.events.destroy
3 years ago
Simon Ser 638c5cda51 output: drop wlr_output_cursor.events.destroy
3 years ago
Simon Ser 1ab3e582ac output: re-implement set_image with set_buffer
3 years ago
Simon Ser 459a642e83 output: introduce wlr_output_cursor_set_buffer
3 years ago
Simon Ser e3e2a34cd8 output: remove noop backend check in wlr_output_cursor_set_image
3 years ago
Alexander Orzechowski 71f8a48d38 wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
3 years ago
Alexander Orzechowski cb2dbc327e wlr_scene: Inline wlr_scene_node_state
3 years ago
Alexander Orzechowski ccd0f85c2a wlr_scene: Only allow parenting on a wlr_scene_tree
3 years ago
Alexander Orzechowski 9eb71146ae wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
3 years ago
Simon Ser 43020963d4 relative-pointer-v1: don't allocate when inert
3 years ago
Simon Ser 1feb8edd21 relative-pointer-v1: remove unnecessary log messages
3 years ago
Simon Ser 17fbf60bd1 relative-pointer-v1: remove unnecessary comments
3 years ago
Consolatis 98c5f58a38 wlr_scene: Fix scaling with default source_box
3 years ago
Rouven Czerwinski 988fe5bda9 relative_pointer: handle inert pointer objects
3 years ago
Simon Ser d483dd2f4c output: add wlr_output_commit_state
3 years ago
Simon Ser 501ac5398d output: add output_state_{init,finish}
3 years ago
Simon Ser b21c26a1c9 output: add wlr_output_event_precommit.state
3 years ago
Simon Ser c4253fef9c output: add wlr_output_test_state
3 years ago
Simon Ser 9e25d3074d output: pass wlr_output_state to rendering functions
3 years ago
Simon Ser 927661d246 output: pass wlr_output_state to output_pending_resolution
3 years ago
Simon Ser 25dd3cc0cd output: pass wlr_output_state to backend
3 years ago
Kirill Primak c1ec71903c xdg-shell: bump version to 3
3 years ago
Kirill Primak 1761c3bbe2 xdg-popup: add reposition support
3 years ago
Kirill Primak 8a0835c59c xdg-positioner: add v3 parameters
3 years ago
Kirill Primak 6f1fce9cb4 xdg-popup: use current/pending state pattern
3 years ago
Kirill Primak 4a968576e4 xdg-popup: add proper configure flow
3 years ago
Simon Ser 4d7f1aeb73 linux-dmabuf-v1: fix MOD_INVALID handling in feedback tranches
3 years ago
Simon Ser be86145322 output: turn make/model/serial into char *
3 years ago
Alexander Orzechowski 41124592dd wlr_scene: Hook up HIGHLIGHT logic
3 years ago
Alexander Orzechowski b6fc882782 wlr_scene: Hook up RERENDER logic
3 years ago
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