2604 Commits (f057239b6aed40e3d294b6c51b6a0e8269716027)

Author SHA1 Message Date
Simon Ser 00bb1b0f84 seat/pointer: add support for axis_relative_direction event
10 months ago
Simon Ser b80337a8f2 xdg-shell: assert that configure events carry positive or zero sizes
10 months ago
Kirill Primak be1c48cbfb layer-shell: forbid set_size with values ≥INT32_MAX
10 months ago
Kirill Primak 0b090c83fb single-pixel-buffer: send wl_buffer.release
10 months ago
Kirill Primak 58bb49a00b security-context-v1: fix possible leaks on wl_client_create() and state copying errors
10 months ago
Isaac Freund 7129eaa1f2 keyboard: fix type of wlr_keyboard_modifiers.group
10 months ago
Simon Ser a0b1329ee6 Fix bool return types
11 months ago
Simon Ser ab924064f2 scene: drop wlr_scene_set_presentation()
11 months ago
Simon Ser d68ba9d6c2 presentation-time: drop wlr_presentation arg
11 months ago
Simon Ser 1968ada213 tearing-control-v1: synchronize state with surface
11 months ago
Simon Ser 0ea6b6e2cc session-lock-v1: use wlr_surface_synced
11 months ago
Simon Ser aa32d1a127 session-lock-v1: drop negative buffer size checks
11 months ago
Simon Ser dc3b2b9439 content-type-v1: use wlr_surface_synced
11 months ago
Simon Ser 90e12fb978 pointer-constraints-v1: use wlr_surface_synced
11 months ago
Simon Ser a6122c3ec5 layer-shell-v1: use wlr_surface_synced
11 months ago
Simon Ser 0e3d2222c2 xdg-decoration: use wlr_surface_synced for toplevel
11 months ago
Simon Ser 96aec06b0a subcompositor: use wlr_surface_synced
11 months ago
Simon Ser 1c3c24825f presentation-time: use wlr_surface_synced
11 months ago
Simon Ser 4b3553409a xdg-shell: use wlr_surface_synced for popups
11 months ago
Simon Ser 9201431c29 xdg-shell: use wlr_surface_synced for toplevel
11 months ago
Simon Ser 69d9a4e2cb xdg-shell: use wlr_surface_synced for wlr_xdg_surface
11 months ago
Simon Ser 7e1ae5548c compositor: add wlr_surface_role.client_commit
11 months ago
Simon Ser d847516765 compositor: add wlr_surface_synced
11 months ago
Simon Ser 34d5af4172 compositor: add wlr_surface_state_has_buffer()
11 months ago
Simon Ser 66b6c349e7 compositor: remove unnecessary wlr_surface.has_buffer
11 months ago
Simon Ser cd157a0bd9 compositor: adjust surface_state_move() comment
11 months ago
Simon Ser da5f53b461 pointer-constraints-v1: reset committed on commit
11 months ago
Simon Ser 85f44f3684 pointer-constraints-v1: add cursor_hint.enabled
11 months ago
Simon Ser df27b29d49 compositor: reset wlr_surface.current.committed on commit
11 months ago
Simon Ser 11e3c376e7 output-layout: fix missing global for outputs with a custom mode
11 months ago
Guido Günther b032161785 input-method: Simplify resetting of input state
11 months ago
pastel raschke 3bf9000a52 input-method-v2: validate commit serial
11 months ago
pastel raschke 6ee5bd9eee input-method-v2: free current strings on commit
11 months ago
Simon Ser 81f5607ad9 input-method-v2: drop unnecessary variable and cast
11 months ago
Simon Ser d7ac8c0cc1 cursor: drop unnecessary commented code
12 months ago
Simon Ser 7ef62cc995 cursor: fix initial cursor position for new outputs
12 months ago
Simon Ser 3475b1880f linux-dmabuf-v1: ignore scanout output for secondary DRM backends
12 months ago
Simon Ser 6a2ff0dffe compositor: drop surface precommit event
12 months ago
Simon Ser 78836298ef cursor: send surface scale events
12 months ago
Alexander Orzechowski 6287b61025 wlr_damage_ring: Fix inverted conditional
12 months ago
Alexander Orzechowski 62169bf5ac wlr_scene: fix transformed outputs backend damage clearing
12 months ago
Alexander Orzechowski 364d7cba42 wlr_scene: Apply output damage once
12 months ago
Alexander Orzechowski fe8916fef0 wlr_scene: Don't damage whole damage ring when exiting direct scanout
12 months ago
Alexander Orzechowski 0619c99dc7 wlr_scene: Use wlr_damage_ring_rotate_buffer()
12 months ago
Alexander Orzechowski 06d301bf1a wlr_scene: Track output damage separately
12 months ago
Alexander Orzechowski 3ed1268f64 render: Nuke old read pixels API
12 months ago
Alexander Orzechowski b3575fedbc screencopy_v1: Use new read pixels API
12 months ago
Simon Ser a165261f7f output: replace wlr_render_timer arg with wlr_buffer_pass_options
12 months ago
Simon Zeni 5d639394f3 types/output: emit destroy event before destroying global
12 months ago
Alexander Orzechowski 7702a19739 output: Drop back_buffer
1 year ago
Alexander Orzechowski fc6000251c output: Drop wlr_output_attach_render
1 year ago
Simon Ser 2093564616 damage_ring: add wlr_damage_ring_rotate_buffer()
1 year ago
Simon Ser 4fbe648faf viewporter: fix src buffer bounds check
1 year ago
Simon Ser 7dcb045176 viewporter: listen to client_commit
1 year ago
Simon Ser d1c88a22a3 viewporter: rename state var in viewport_handle_surface_commit()
1 year ago
Kirill Primak 87346b3393 Revert "subcompositor: emit new_subsurface immediately"
1 year ago
Simon Ser 56ec13596a Cleanup wlr_matrix.h includes
1 year ago
Kirill Primak 7661ab2bf1 compositor: deprecate wlr/types/wlr_region.h
1 year ago
Alexander Orzechowski 26158d0718 output: Drop transform matrix
1 year ago
Kirill Primak 78a09573af output: fix display destroy listener double removal
1 year ago
Kirill Primak 504b9491f0 subcompositor: emit new_subsurface immediately
1 year ago
Kirill Primak 43fd3a007e subcompositor: don't map unadded subsurfaces
1 year ago
Kirill Primak e841366068 layer-shell: emit new_surface event at the proper time
1 year ago
Kirill Primak c85838892d xdg-{shell,decoration}: improve events
1 year ago
Simon Ser d61ec694b3 output: take wl_event_loop in wlr_output_init()
1 year ago
Simon Ser d23d8ed3ba output: setup display destroy listener in wlr_output_create_global()
1 year ago
Simon Ser 5717e27c06 output: take wl_display in wlr_output_create_global()
1 year ago
Simon Ser 6a7463bb8e output-layout: take wl_display in constructor
1 year ago
Simon Ser 2eb225236e util/transform: add wlr_output_transform_coords()
1 year ago
Simon Ser 9e702e9cfe util/transform: move over wl_output_transform helpers
1 year ago
Manuel Stoeckl a3d22dbe97 xdg-toplevel: check that title provided actually is UTF-8
1 year ago
Simon Ser 0c83c331ca output/cursor: drop legacy rendering API
1 year ago
Kirill Primak 5dd614b9ad input-inhibitor: drop
1 year ago
Simon Ser fe6a432299 linux-dmabuf-v1: skip import check on split render/display SoCs
1 year ago
Alexander Orzechowski 515681503e screencopy: Use box size instead for shm copy
1 year ago
Alexander Orzechowski 7a22030071 screencopy: Move frame bounds sanity check into common code
1 year ago
Alexander Orzechowski c8861a2865 screencopy: Define proper destination for dmabuf copy
1 year ago
Alexander Orzechowski 303f23d7dd wlr_scene: Update outputs if subpixel status changes
1 year ago
Alexander Orzechowski 50446fe75e wlr_scene: Update outputs when primary output is changed
1 year ago
Alexander Orzechowski 889c5ed5ff wlr_scene: Update outputs when output scale/transform changes
1 year ago
Alexander Orzechowski 3d3cca9164 wlr_scene: Introduce wlr_scene_subsurface_tree_set_clip
1 year ago
Alexander Orzechowski d1ddd4ca3a wlr_scene_surface: Introduce scene_surface_set_clip
1 year ago
Alexander Orzechowski c6d356648c set_buffer_with_surface_state: Take whole surface struct
1 year ago
Alexander Orzechowski 1c0b10b61a wlr_scene_subsurface_tree: Addon to scene
1 year ago
Alexander Orzechowski 33b437d574 wlr_scene: Amend scene_buffer.point_accepts_input to take coordinate pointers
1 year ago
Simon Ser 319e4125ab xdg-shell: add wlr_xdg_{toplevel,popup}_try_from_wlr_surface()
1 year ago
Väinö Mäkelä 5de9e1a99d wlr-output-management: Send custom modes to clients
1 year ago
Simon Ser 22df8d3847 cursor: log missing XCursor
1 year ago
sunzhguy dbf20b0ad3 wlr_cursor: update cursor when output enable and transform changed
1 year ago
Simon Ser 1c24b1182b backend: drop wlr_backend_get_presentation_clock()
1 year ago
Kirill Primak 5fac9b1beb xdg-toplevel: don't send maximized if tiled is requested but not supported
1 year ago
Simon Ser 55be74ad86 util/token: rename TOKEN_STRLEN to TOKEN_SIZE
1 year ago
Kirill Primak d253d70786 xdg-shell: use wlr_surface.unmap_commit
1 year ago
Kirill Primak d8515b3446 layer-shell: track surface init state
1 year ago
Kirill Primak f750c7445d layer-shell: don't use wlr_surface_role.unmap hook
1 year ago
Kirill Primak 4d2e310122 compositor: add wlr_surface.unmap_commit
1 year ago
Kirill Primak e1c2671725 layer-shell: check the configured flag earlier
1 year ago
eri bfc42e0f62
linux_dmabuf_v1: convert to try_from
1 year ago
eri c46d3da976
drm: convert to try_from
1 year ago
eri 8ccbe45143
buffer: convert to try_from
1 year ago
Kirill Primak 0de3659698 Drop wl_client and user data assertions in bind handlers
1 year ago
Simon Ser ccb153f024 security-context-v1: add commit event
1 year ago
Simon Ser c58deb7a7d security-context-v1: new protocol implementation
1 year ago
Kirill Primak 65f6f556d9 layer-shell: check for NULL in wlr_layer_surface_v1_destroy()
1 year ago
Kenny Levinsen 2cf78f4c5b output: allow_artifacts -> allow_reconfiguration
1 year ago
Alexander Orzechowski 291431c14f scene/output_layout: Add assert for duplicate output insertion
1 year ago
Kirill Primak b06c2f3d1f scene-output-layout: assert lo->output == so->output
1 year ago
Alexander Orzechowski e1e911d425 scene_output_layout: Don't destroy output when output layout is destroyed
1 year ago
Alexander Orzechowski 5fb0007e02 output_event_commit: Remove committed and buffer
1 year ago
Alexander Orzechowski 03e240a7f2 wlr_output: Add applied state to commit event
1 year ago
Kirill Primak 86c30b8715 seat: remove wlr_seat_validate_grab_serial()
1 year ago
Simon Zeni a289f812d6 drop KDE idle protocol support
1 year ago
Alexander Orzechowski 1b0694b794 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
1 year ago
Kirill Primak a09d649439 docs: replace the less commonly used "::" with "."
1 year ago
Kirill Primak 0fdbdc36c0 xdg-surface: fix init state flow
1 year ago
Kirill Primak 016494af1b xdg-surface: assert that xdg_surface isn't inert
1 year ago
Alexander Orzechowski 5ef42e8e8a output_defer_present: Calloc right struct
1 year ago
Rose Hudson 83af3202f9 output: defer fake present events until after commit
1 year ago
Alexander Orzechowski c044aef5f0 cursor: Unset cursor if texture upload failed
1 year ago
Alexander Orzechowski 7ef2c0a506 cursor: Remove dead code
1 year ago
Alexander Orzechowski 00dcc68e16 cursor: Unset cursor image when there is not available xcursor theme
1 year ago
Simon Zeni 9816b59b0e types/wlr_tearing_control_v1: use safe list iteration on destroy
1 year ago
vaxerski c2aa7fd965 backend/drm: Add async page flip support to legacy
1 year ago
vaxerski 5dec1c8bcb staging/tearing-control: Add protocol support
1 year ago
Brian J. Tarricone eacb4cf6d2 Fix possible crash in server-decoration when surface destroyed
1 year ago
Manuel Stoeckl dbc7a5cada screencopy_v1: only bind, not render with, buffer in shm copy path
1 year ago
Alexander Orzechowski 6c54c34713 output: Mutate frame_pending needs_frame when there is an explicit output commit
1 year ago
Leo Li b18a849fc3 wlr_scene: Use cached node coordinates where possible
1 year ago
Kirill Primak e315068b98 xdg-popup: validate parent
1 year ago
Simon Ser e5fc8cd4c7 output: trigger frame/present events on all commits on enabled output
1 year ago
Rose Hudson 462f04db9e output: don't forbid multiple commits per frame
1 year ago
Rose Hudson f5917f0247 scene_output_layout: make output adding explicit
1 year ago
Rose Hudson 91f813ffb7 output_layout: return wlr_output_layout_output when adding output
1 year ago
Alexander Orzechowski e85c79051c wlr_output: Set current_mode during new custom mode
1 year ago
Simon Ser 72787db98a compositor: drop wlr_surface_destroy_role_object()
1 year ago
Kirill Primak bd5c4f4a4a xdg-shell: rework roles
1 year ago
Kirill Primak e5300c225e xdg-popup: avoid using wlr_surface_destroy_role_object()
1 year ago
Kirill Primak 10ba8ebc70 Don't assume xdg_surface.{toplevel,popup} is non-NULL
1 year ago
Kirill Primak f0cc712af1 xdg-shell: don't return anything from create_xdg_surface()
1 year ago
Leonardo Hernández Hernández bdc34401ba
xdg-decoration: store an xdg_toplevel instead of xdg_surface
1 year ago
Alexander Orzechowski 568b1943b9 wlr_output: Nuke wlr_output_update_enabled
1 year ago
Alexander Orzechowski 63351cf81f output: Schedule mode updates to happen with rest of output events
1 year ago
Alexander Orzechowski f042de3f51 output: Inline wlr_output_update_{custom,}_mode
1 year ago
Alexander Orzechowski f1ba70ffa6 wlr_output: Make wlr_output_update_{custom,}_mode private
1 year ago
Alexander Orzechowski 6cda3e251c output: Add initialization state to wlr_output_init
1 year ago
Alexander Orzechowski 8f67446cc7 output: Extract common commit logic
1 year ago
Alexander Orzechowski aee31edaad screencopy_v1: Implement copy regions with gpu blit path
1 year ago
Alexander Orzechowski b4cbaa4549 screencopy_v1: Use new renderer API for gpu blit path
1 year ago
Simon Ser c74f89d4f8 Avoid using memcpy() to copy structs
1 year ago
JiDe Zhang 73db481037 wlr_output: update cursor when scale changed
1 year ago