1676 Commits (fdc22449d6f7ac38388812d7f0da7c93e110d28a)

Author SHA1 Message Date
Isaac Freund 0cba1ce747 gtk primary selection: destroy devices before manager
4 years ago
Isaac Freund bf926e31a0 primary selection: destroy devices before manager
4 years ago
Isaac Freund 5d24f6e098 toplevel-management: avoid redundant state events
4 years ago
Isaac Freund 8b90d5e17f toplevel-management: handle strdup failure
4 years ago
Isaac Freund abcab0331f toplevel-management: ignore inert seats
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser ae5275c09f
client-buffer: remove unnecessary wlr_resource_get_buffer_size
4 years ago
Isaac Freund f6fc4c2883 subsurface: handle NULL parent in get_root_surface
4 years ago
Simon Ser 768131e488 output: stop assuming a frame is pending in init
4 years ago
Simon Ser e9c1f0f7d3
output: improve basic test logging
4 years ago
Marten Ringwelski 44b1ff16e9 wlr-output-management: Handle modes added after initializing
4 years ago
Isaac Freund baf2319fd3 screencopy: don't use output transform for damage copy
4 years ago
Isaac Freund 37cb3eb8dd screencopy: check if damage committed before copy
4 years ago
Isaac Freund 1ecc1b5987 screencopy: use output transform for damage copy
4 years ago
Isaac Freund 1477401acd screencopy: handle compositor not setting damage
4 years ago
Simon Ser 49115e9d5d render: rename wlr_renderer_get_dmabuf_formats
4 years ago
Isaac Freund 78e9e692e8 wlr-output-management: add missing NULL check
4 years ago
Kenny Levinsen ebecc5404b surface: Make send_enter store entered outputs
4 years ago
Simon Ser 0b40d09a21 buffer: add wlr_client_buffer_get
4 years ago
Isaac Freund e06c9e43af Remove unneeded includes from wlr_input_device.h
4 years ago
Isaac Freund 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Ilia Bozhinov 9595f95452 xdg_shell: handle inert popups
4 years ago
Simon Ser 372a52ecc0
input-method: send modifiers in set_keyboard
4 years ago
Simon Ser 4471a83ed0 screencopy: send failed when copying a DMA-BUF with a region
4 years ago
Simon Ser 51fc7ddb29 screencopy: perform DMA-BUF copy on output commit
4 years ago
Simon Ser f0945e112f export-dmabuf: export DMA-BUF on output commit
4 years ago
Simon Ser 8c8164c4a6 output: add when field to wlr_output_event_commit
4 years ago
Simon Ser 2934a72920
screencopy: stop setting needs_frame flag
4 years ago
Simon Ser c2db691cad gamma-control-v1: apply gamma LUT when output gets enabled
4 years ago
Ilia Bozhinov 346188c015 xdg_shell: fix a typo
4 years ago
Daniel Kondor b4ed8b3d74 foreign toplevel: send parent event only to clients that support it
4 years ago
Daniel Kondor 36395e5b1c
foreign-toplevel-management: report parent toplevel
4 years ago
Roman Gilg 86c0b9986b output-management-v1: send complete head state on enable change
4 years ago
Isaac Freund 8dec751a6d layer-shell: error on 0 dimension without anchors
4 years ago
Isaac Freund 8ad2cc39eb layer-shell: add for_each_popup
4 years ago
Roman Gilg bae8d7593c output-management-v1: send head identifying information
4 years ago
Drew DeVault a9cbfd950e Remove xdg-shell v6
4 years ago
Simon Ser b0144c7ded output-power-management-v1: listen to output commit
4 years ago
Simon Ser c674241ec0 output: introduce wlr_output_event_commit
4 years ago
Isaac Freund 2072d59da5 xdg-shell: split last-acked and current state
4 years ago
Daniel De Graaf c236f60bb6 wlr_virtual_keyboard: fix fd leak
4 years ago
Simon Ser 30226eb1fb gamma-control-v1: fix use-after-free in gamma_control_handle_set_gamma
4 years ago
Ilia Bozhinov 0032954c75 make sure to fail setting gamma on disabled outputs
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Ronan Pigott 39fd2335bf virtual_pointer: remember current axis for axis events
4 years ago
Tudor Brindus a145430afa
input/pointer: add wlr_seat_pointer_wrap
4 years ago
xdavidwu 595f324f8b input-method: implement keyboard grabs
4 years ago
xdavidwu 61e2ebac90 virtual-keyboard: add wlr_input_device_get_virtual_keyboard
4 years ago
Isaac Freund 92c85858a9 layer-shell: remove unused surface list
4 years ago
Greg V b2bd536308 xdg-shell: check for existing role before setting xdg_popup_surface_role
4 years ago
Andri Yngvason 1d835f2035 screencopy: Use correct dmabuf to get y-inversion flag
4 years ago
Isaac Freund 45c0877e34 layer-shell: upgrade to v3, implement destructor
4 years ago
Kenny Levinsen d2ca220fda wlr_drag: Destroy drag after releasing grabs
4 years ago
Isaac Freund a7f48aab69 xdg-decoration: free old configure structs
4 years ago
Isaac Freund 86e20f48c6 xdg-shell: handle serial wrapping overflow
4 years ago
Isaac Freund b937c7b05e layer-shell: handle serial wrapping overflow
4 years ago
Simon Ser 155d57b01d output: fix dangling renderer context after wlr_output_preferred_read_format
4 years ago
Simon Ser 3c5dbfd97c output: make rollback_render mandatory
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Simon Ser d177abecae surface: ignore viewport src rect on NULL buffer
4 years ago
Rouven Czerwinski c18c419b56 surface: don't unset width and height in finalize
4 years ago
Tudor Brindus c768309ab4 input/keyboard: send modifiers on first keyboard enter
4 years ago
Simon Ser 9e68ed2159 viewporter: new protocol implementation
4 years ago
Simon Ser c618a76540 surface: introduce wlr_surface_get_buffer_source_box
4 years ago
Simon Ser eb22ae97b0 surface: add wlr_surface_state.viewport
4 years ago
Andri Yngvason cae533cad2 screencopy: Use correct constant for y-inversion
5 years ago
Andri Yngvason ea83957ecc screencopy: Implement copying into linux-dmabuf
5 years ago
Tudor Brindus c9c31f803e util/time: de-duplicate `timespec_to_msec`
5 years ago
Thomas Hebb dcae6f1431 Allow keyboard and pointer grabs to hook clear_focus()
5 years ago
Andri Yngvason 034384f5aa export-dmabuf: Keep frame->output = NULL until frame is ready
5 years ago
Brian Ashworth 32148808ad wlr_keyboard_group: introduce enter and leave
5 years ago
Kalyan Sriram 8ab4d91380 Don't send redundant capability updates
5 years ago
Simon Ser 1a23c1425f Add comments for missing tablet tool entries
5 years ago
Kenny Levinsen 5e0ef70cc0 seat: Create inert objects for missing capabilities
5 years ago
Simon Ser 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Isaac Freund 666498db01 Make wlr_xcursor_manager_load() return a bool
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Tudor Brindus 7693fdb8a7 tablet: expose wlr_tablet_tool_v2_has_implicit_grab function
5 years ago
Tudor Brindus 74c0d03f00 tablet: pass motion events to implicitly grabbed surface
5 years ago
Tudor Brindus 8b18d389b3 input/pointer: notify compositor when constraint region changes
5 years ago
Tudor Brindus 064f64dbf7 input/keyboard: expose keymap matching helper
5 years ago
David96 e3343cf7d1 Add wlr_surface_accepts_touch
5 years ago
Isaac Freund 11e94c406b layer shell: only send unmap on close if mapped
5 years ago
Simon Ser 22d345d982
Remove .swp file added by mistake
5 years ago
Tudor Brindus d698334620 input/tablet: clear focused surface on surface destroy
5 years ago
Tudor Brindus ad28f57533 input/tablet: fix up updated axes after rotation
5 years ago
Andri Yngvason e51d507799 export-dmabuf: Schedule output frame on request
5 years ago
r-c-f f679895c77
seat: add check for NULL keyboard
5 years ago
Simon Ser 0281b58d2f output: fix maybe-uninitialized warning
5 years ago
Simon Ser 50ade3671f output: check for buffer size compatibility in common code
5 years ago
Simon Ser 5f092c55d1 output: fix blurred hw cursors with fractional scaling
5 years ago
Simon Ser 507d9bc19e Add wlr_output_impl.rollback
5 years ago
Simon Ser 6977f3a843 output: check buffer in wlr_output_test
5 years ago
Simon Ser e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 1fa9e0203b buffer: add width and height
5 years ago
Simon Ser 6595db6409 buffer: add a release event
5 years ago
Simon Ser 1674ca725c buffer: add destroy event
5 years ago
Simon Ser 7516a98167 Gracefully handle inert wl_output resources
5 years ago
Isaac Freund 8707a9b7ec Return false on wlr_keyboard_set_keymap() failure
5 years ago
Scott Anderson 34303e1b47 wlr_surface: Post error if multiple role objects created
5 years ago
Isaac Freund 1282c3b12f Send pointer enter/leave on capability change
5 years ago
Isaac Freund 7c309ba4d3 Properly popluate keys array for enter on creation
5 years ago
Isaac Freund 3f617631cb Send keyboard enter/leave on capability change
5 years ago
Simon Ser e0bbafc253 output: replace wlr_output.damage with a damage event
5 years ago
Simon Ser 07737e85cc output: add comment about needs_frame in wlr_output_schedule_frame
5 years ago
Simon Ser 41f9916ae5 buffer: remove unused wlr_client_buffer fields
5 years ago
Simon Ser 7bce056f1d output: don't send a needs_frame event if already sent
5 years ago
Simon Ser a4c7c6db09 output: make wlr_output_schedule_frame set output->needs_frame
5 years ago
Simon Ser 7017fa95b8 output: add adaptive_sync_enabled property
5 years ago
Simon Ser 8afc1ed68c Introduce wlr_client_buffer
5 years ago
Simon Ser 348f52b5fc output: remove wlr_output_impl.schedule_frame
5 years ago
Guido Günther c9859f187f wlr_output_power_management_v1: Init output_power->link
5 years ago
Aleksei Bavshin c99d156f0d xdg-shell: fix popups rendered outside of the screen
5 years ago
Michael Weiser 3ff6a5def3 idle-inhibit: Style and naming improvements
5 years ago
Michael Weiser 471b873de3 keyboard-shortcuts-inhibit: Implement the protocol
5 years ago
Guido Günther ba14e196f6 Implement wlr-output-power-management-v1
5 years ago
Dorota Czaplejewicz 37adcac5d1 text_input_v3: Note features supported by the text field
5 years ago
Ilia Bozhinov f416efa918 output-management: add current_configuration_dirty
5 years ago
Manuel Stoeckl 2fddec56e8 output: fix output transform compositions
5 years ago
Manuel Stoeckl f22a5d1704 Fix output rotation direction
5 years ago
Simon Ser c5376c2d2c seat: don't destroy global immediately
5 years ago
Simon Ser e63b70263a output: don't destroy global immediately
5 years ago
Andri Yngvason 273b280f46 virtual-pointer: Add request for mapping to specific output
5 years ago
Simon Ser 4b051aa926 meson: fix wayland-server minimum required version
5 years ago
Simon Ser b1a63bcd84 keyboard-group: two NULL keymaps are equal
5 years ago
xdavidwu 3b35043d00 text-input: fix missing destroy signal init
5 years ago
Andri Yngvason 51f8c22f4d virtual-pointer: Actually use the value passed to axis_discrete
5 years ago
Josef Gajdusek a7b538008b virtual-pointer: Add support for the wlr-virtual-pointer-unstable-v1
5 years ago
Simon Ser ff29843d87 output: only advertise current mode
5 years ago
Simon Ser 8bb2dc68ea xdg-shell: make wlr_xdg_surface_from_resource reject NULL
5 years ago
Simon Ser 7e521fed97 xdg-shell: fix inert xdg_surface handling
5 years ago
Simon Ser 8fc16890c7 output: refuse to commit a buffer or modeset a disabled output
5 years ago
Simon Ser b5597f5b44 output: clear pending bit if pending == current
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Brian Ashworth e0e5a167ed wlr_keyboard_group: fix mem leak in refresh_state
5 years ago
Simon Ser 471f9a3f6a output-management-v1: use wlr_output.description
5 years ago
Simon Ser 1f799c1cbd xdg-output-v1: use wlr_output.description
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
myfreeweb 774548696c Send tablet tool frame on proximity_out
5 years ago
Simon Ser 98cd11c019 output: fix wlr_output_preferred_mode fallback
5 years ago
Simon Ser 7fc58e704a surface: don't unref the current buffer on failure
5 years ago
Simon Ser 96e8e9b098 buffer: improve error handling
5 years ago
Manuel Stoeckl 8a5e4768e1 output: fix cursor wl_surface.{enter,leave} tracking
5 years ago
Simon Ser 16f22940d9 keyboard: emit key events without keymap
5 years ago
Simon Ser dc6ef658b6 Revert "output: add block_idle_frame"
5 years ago
Dorota Czaplejewicz fadd4706ed virtual_keyboard: Accept keycode 0
5 years ago
Simon Ser 5cde35923c Simplify globals implementation by removing destructors
5 years ago
Timidger 6bd7a62c09 Use layer shell v2
5 years ago
Simon Ser 2122e49bea presentation-time: add helper for common case
5 years ago
Simon Ser 533ea6d7ef presentation-time: make API more flexible
5 years ago
Simon Ser 3084cee7bc output: fix off-by-one wlr_output_event_present.commit_seq
5 years ago
Simon Ser 2d9661f189 output: set wlr_output.commit_seq before firing the commit event
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Alynx Zhou aa9ea95e1f Skip assign when sub_x or sub_y is NULL in wlr_surface_surface_at
5 years ago
Brian Ashworth f2d3b1000f Introduce wlr_keyboard_group
5 years ago
György Kurucz b81bb2ef30 Fix heap-use-after-free in wlr_send_tablet_v2_tablet_pad_leave
5 years ago
Simon Ser 9971db02ff output-management-v1: add assertion as a safety net
5 years ago
Andri Yngvason 61a6f2b928 screencopy: Implement damage reporting
5 years ago
Andri Yngvason 5d8bd4d343 output: Add commit sequence number
5 years ago
Timidger 1724261910 layer_shell: set layer of existing surface
5 years ago
Ivan Molodetskikh cbb2781fed output: add block_idle_frame
5 years ago
Ilia Bozhinov 480a31ea4e wlr_box: properly calculate closest point for non-positive area boxes
5 years ago
amingin b1b93c2c7e Fixes crash of compositor when unvalidated keycode 0 is passed (#1833)
5 years ago
Markus Ongyerth 57babd2e13 Move initialization of wlr_tablet_pad into types/wlr_tablet_pad
5 years ago
Ivan Molodetskikh 020a33e057 presentation_feedback: add the sampled state
5 years ago
Simon Ser c808613287 compositor: disconnect client on OOM in create_surface
5 years ago
Versus Void 2ecfc46b93 xdg-output: send wl_output.done after xdg_output created
5 years ago
Sebastian Krzyszkowiak a14d650864 wlr_seat_touch: Destroy the touchpoint on client destroy
5 years ago
Ilia Bozhinov 8b0f1bc850 layer-shell: ignore ack_configure() on closed surfaces
5 years ago
Sebastian Krzyszkowiak cdfe836b03 Revert "wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces"
5 years ago
Brian Ashworth fa477c77c4 wlr-layer-shell-v1: destroy xdg popups on unmap
5 years ago
Brian Ashworth 9914784594 wlr_xdg_toplevel: reparent on parent unmap
5 years ago
Antonin Décimo 217cf18a4b Avoid loss of a fractional part
5 years ago
Antonin Décimo 0695324de7 xdg_shell: remove variable self-assignment
5 years ago
Antonin Décimo 8f3d73e3a3 wlr_surface: condition is always false
5 years ago
Antonin Décimo 3fc977d7da Fix memory leak
5 years ago
Sebastian Krzyszkowiak 52037d13f7 wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces
5 years ago
Sebastian Krzyszkowiak 78d96009e4 wlr_xdg_popup: grab touch events alongside pointer and keyboard
5 years ago
Sebastian Krzyszkowiak 40d17c1305 wlr_seat_touch: add a way for a grab to ignore a touch point
5 years ago
Drew DeVault 94f65e354d Add libinput-1.14 support
5 years ago
Sebastian Krzyszkowiak 913cac1835 wlr_input_method_v2: Remove input method's resource from the list on destroy
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Simon Ser 6396710976 xdg-output: add support for xdg-output-unstable-v1 version 3
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Jason Francis d20aee6c9d export-dmabuf-v1: fix segfault on output disable
5 years ago
Jason Francis 724b5e1b8d screencopy: send failed after output disconnect
5 years ago
Jason Francis ce3e413e83 screencopy: fix segfault on disabled output
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Simon Ser 76ef089f52 output: drop wlr_output_mode.flags
5 years ago
Sebastian Krzyszkowiak 2d4bc66f11 wlr_touch: Declare wlr_touch_impl usage as const
5 years ago
Guido Günther 692a16cef7 layer-shell: Reject requests on gone surfaces
5 years ago
Guido Günther 91752e8285 layer-shell: Remove unused event source
5 years ago
Guido Günther df3f0ffbb0 wlr_seat_touch: Don't destroy touch point with surface
5 years ago
Manuel Stoeckl c2fb8a84a2 wlr_seat: special-case first serial set use
5 years ago
Manuel Stoeckl 1ef0c03a46 wlr_tablet_v2: Register event serials
5 years ago
Manuel Stoeckl 1d78bae19d wlr_pointer_gestures: Register event serials
5 years ago
Manuel Stoeckl ded441ffd5 wlr_seat: Fix edge cases with serial validation
5 years ago
Manuel Stoeckl edb30a6828 Implement serial validation for selection requests
5 years ago
Ilia Bozhinov fb739b8293 output-damage: set needs swap only when we have new damage
5 years ago
Dorota Czaplejewicz 0b1f9439ba virtual_keyboard: Require keymap before accepting keycodes
5 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Simon Ser 33127c545b output: reset the pending state on failed commit
6 years ago
Ashkan Kiani 06a13203dd Use a set to track pointer button state.
6 years ago
Simon Ser e07ffaa249 output-damage: support direct scan-out
6 years ago
Simon Ser 6c659da98b output: introduce wlr_output_lock_attach_render
6 years ago
Simon Ser e554c593f9 output: refuse to scan-out if software cursors are used
6 years ago
Simon Ser ff6b352d75 output: save buffer in pending state
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser 1d222309b8 output: change set_dmabuf to attach_buffer
6 years ago
Simon Ser 493804e421 buffer: add wlr_buffer_get_dmabuf
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Simon Ser 3dec88e455 Remove orbital screenshooter and gamma-control
6 years ago
Brian Ashworth 6dfe238ff1 zwp_virtual-keyboard: fix mmap error handling
6 years ago
Rouven Czerwinski a5e32f652b wlr_output: remove idle_done on output destroy
6 years ago
Ilia Bozhinov 03346cb28f output: clear output->damage on successful commit
6 years ago
Ilia Bozhinov 4e6c17a7c9 foreign-toplevel: support fullscreen state and request
6 years ago
Simon Ser a656e486f4 seat: fallback to v6 if libwayland 1.17 isn't available
6 years ago
Simon Ser d7ef3a1f38 xdg-output: schedule a wl_output.done event on update
6 years ago
Simon Ser bde5a1f4ea output: introduce wlr_output_schedule_done
6 years ago
Drew DeVault 736632ad4e Remove wlr_wl_shell
6 years ago
Scott Anderson a671fc51d2 Advertise wl_seat version 7
6 years ago
Simon Ser 8d3369d70f output-damage: fix segfault after destroy
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 5e6766a165 output-damage: refactor API
6 years ago
Simon Ser 31dcecbfa9 output: rename swap_buffers event to precommit
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Simon Ser 23e37e7b1d output: refactor frame submission API
6 years ago
Simon Ser 8acbf449cc output: introduce wlr_output_preferred_mode
6 years ago
Simon Ser 4207f05030 data-device: ignore accept for selection offers
6 years ago
Ilia Bozhinov d6615e0e84 idle: enable the compositors to add custom idle timeouts (#1655)
6 years ago
Ilia Bozhinov dc5d1d08ef output: do nothing in output_set_image if backend has no renderer
6 years ago
emersion 1515c56cae output: remove lx, ly
6 years ago
emersion 930e37eae9 output-management-v1: add more docs
6 years ago
Guido Günther 524f5c8425 Emit preferred mode
6 years ago
emersion ab3446091b output-management-v1: update protocol, add set_custom_mode
6 years ago
emersion fc0ba3ea22 output-management-v1: support outputs without modes
6 years ago
emersion 81e1489e79 output-management-v1: fix wl_fixed_t conversion
6 years ago
emersion 8136605cfb output-management-v1: support applying configuration
6 years ago
emersion d71ebde545 output-management-v1: add support for position, transform and scale
6 years ago
emersion ef68d7d4d1 output-management-v1: add support for modes
6 years ago
emersion e873c652bf output-management-v1: various fixes
6 years ago
emersion d695003498 Add apply and test events to manager
6 years ago
emersion 0b64ecc162 Split wlr_output_configuration_head_v1
6 years ago
emersion 3a233b3fcc Add support for wlr-output-management-unstable-v1
6 years ago
Guido Günther 9faea17c73
Merge pull request #1642 from emersion/format-set
6 years ago
emersion e42178d03f
render: switch wlr_renderer to wlr_drm_format_set
6 years ago
Markus Ongyerth 09b2833dcd send proximity_out in proximity in for tablet_v2
6 years ago
Stuart Dilts 08454adada types/meson.build: Add compile args for libinput to lib_wlr_types (#1636)
6 years ago