1979 Commits (ef4baea0e2f799c7bdd2e077dac4174fa31e85df)

Author SHA1 Message Date
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
Kirill Primak db4afc2408 xdg-surface: add pending state
3 years ago
José Expósito 20d9448257 wlr_pointer_gestures: hold gestures (protocol v3)
3 years ago
José Expósito 5f3e490c80 wlr_pointer_gestures: update protocol to version 2
3 years ago
José Expósito 4c3e307ec8 cursor: emit hold gesture events
3 years ago
José Expósito d069a783bc pointer: add hold pointer event definition
3 years ago
Kirill Primak 754f40f9cb layer-shell: add `committed` bitmask
3 years ago
Kirill Primak 59fa3637c3 layer-shell: refactor configure/state flow
3 years ago
Simon Ser 3c26244340 scene: add wlr_scene_buffer_set_transform
3 years ago
Simon Ser 43833fba64 scene: add wlr_scene_buffer_set_dest_size
3 years ago
Simon Ser 3d4afbe945 scene: use scene_node_get_size in wlr_scene_node_at
3 years ago
Simon Ser 27b529f8a0 scene: add scene_node_get_size helper
3 years ago
Simon Ser 63040d6744 scene: add wlr_scene_buffer_set_source_box
3 years ago
Simon Ser 7939bf8cc6 scene: add wlr_scene_buffer
3 years ago
Simon Ser f6f0e010d1 scene: unify intersection logic in wlr_scene_node_at
3 years ago
Simon Ser b25759cd20 scene: drop default case in wlr_scene_node_at
3 years ago
Tadeo Kondrak 30d3c76817 Implement input_method_v2 popups
3 years ago
Simon Ser 2e590026e9 scene: add wlr_scene_subsurface_tree_create
3 years ago
Simon Ser 597ba2b932 surface: add addon set
3 years ago
Simon Ser 211b3b760e scene: add wlr_scene_tree
3 years ago
Kirill Primak ccc84f11a4 xdg surface: check adding configure_idle for NULL
3 years ago
Kirill Primak 0e2d369106 xdg-surface: simplify configure mechanism
3 years ago
Kirill Primak b72a217fcc xdg-toplevel: refactor configure/state flow
3 years ago
Simon Zeni 9579d62a16 types/buffer: make {begin,end}_data_ptr_access part of the public API
3 years ago
Kirill Primak 52da68b591 xdg popup: move function to a file it belongs to
3 years ago
Simon Ser 4e7a8707cc buffer: add data_ptr access flags
3 years ago
Andri Yngvason 105fdecd0c screencopy: Handle shm copy in commit event handler
3 years ago
Andri Yngvason 04d234bac1 screencopy: Use output->front_buffer instead of wlr_output_export_dmabuf
3 years ago
Simon Ser a181a37b12 scene: add wlr_scene_attach_output_layout
3 years ago
Simon Ser 7832005a1f scene: move source to subdir
3 years ago
Quantum 679f5ed966 scene: fix compile error in release builds
3 years ago
Simon Ser 44f0f7a0a7 scene: add damage tracking support
3 years ago
Simon Ser 9195b77e14 scene: add wlr_scene_node_coords
3 years ago
Simon Ser 04d105760d scene: add wlr_scene_output_commit
3 years ago
Simon Ser 968c1df7e9 scene: add scene outputs
3 years ago
Simon Ser 872993f95d scene: fix wlr_scene_render_output offset
3 years ago
Simon Zeni 3984c81faa types: introduce wlr_drm_lease_v1
3 years ago
Simon Ser 04304c322e output-damage: fix damage on modeset
3 years ago
Simon Ser 88919464ef surface: fix abort on NULL buffer attach
3 years ago
Simon Ser ba0525c5c0 surface: drop wlr_surface_state.buffer_resource
3 years ago
Simon Ser 0978a702d7 surface: ensure buffer is reset to NULL in surface_state_move
3 years ago
Simon Ser 0fe3b45361 viewporter: hide wlr_viewport
3 years ago
Simon Ser bb82b6dada buffer: make wlr_client_buffer_apply_damage return a bool
3 years ago
Simon Ser cbe099dcc7 buffer: take a wlr_buffer in wlr_client_buffer_apply_damage
3 years ago
Kirill Primak 610f0c0805 surface: inline surface_commit_pending()
3 years ago
Kirill Primak cf56596565 surface: change surface_finalize_state() to surface_finalize_pending()
3 years ago
Kirill Primak ba55c7c4ff surface: rename impl and its functions
3 years ago
Kirill Primak 90e62390d9 surface: move subsurface lists to state
3 years ago
Simon Ser 3ac99fa4dc subsurface: move parent link to state
3 years ago
Simon Ser 56b6b80b9a subsurface: rename wlr_subsurface_state to wlr_subsurface_parent_state
3 years ago
Kirill Primak 242c23743f surface: cache frame callback lists again
3 years ago
Simon Ser d290b13871 seat: avoid copying the keymap for each client
3 years ago
Simon Ser 62924cc523 keyboard: add wlr_keyboard.keymap_fd
3 years ago
Devin J. Pohly 00c2bae1d3 scene: remove redundant empty-region check in render_texture()
3 years ago
Devin J. Pohly 9ed16e39fa scene: replace surface_at() with node_at()
3 years ago
Devin J. Pohly b7cd06e8fa scene: add RECT node type
3 years ago
Devin J. Pohly 526652a554 scene: iterate nodes instead of surfaces when rendering
3 years ago
Devin J. Pohly 7ec9523ea3 scene: stricter assertions on reparent
3 years ago
Devin J. Pohly d5263be355 scene: make graph loops fatal when debugging
3 years ago
Devin J. Pohly 0f534e32e4 scene: ensure node cannot be reparented below itself
3 years ago