1320 Commits (85a2ee6d30e7a039b4eaba0c97bdb08d54e57f80)

Author SHA1 Message Date
emersion e8f012c993 seat: only store serial if pressing a button
6 years ago
emersion 2fde5c95d8 seat: use wlr_button_state enum instead of uint32_t
6 years ago
emersion 4135fafecd seat: guard against button count corruption
6 years ago
emersion d425206719 data-device: check if there's a source before sending dnd_finish
6 years ago
emersion d6de640440
data-device: unbreak wl_data_source.cancel during drag-and-drop
6 years ago
emersion 7d367a9e21
data-offer: send WL_DATA_OFFER_ERROR_INVALID_FINISH
6 years ago
emersion 44ec3afb27
data-device: fix drag cleanup if not started
6 years ago
emersion 6291e84532
data-device: refactor wlr_drag
6 years ago
Drew DeVault ea28887a23
Merge pull request #1493 from emersion/primary-selection-v1
6 years ago
Markus Ongyerth fc9838b15e Prevent NULL dereference in tablet_tool handler
6 years ago
Drew DeVault b455df3b91
Merge pull request #1557 from emersion/inert-offers
6 years ago
emersion 07e1bedb08
data-device: make old offers inert before sending selection
6 years ago
emersion 81ed1efe4f
xwayland, data-device: fix surface state on unmap
6 years ago
emersion 943e918a96
subsurface: add map/unmap events
6 years ago
Brian Ashworth 3c9f791d0e wlr_output: do not modeset to current mode
6 years ago
Drew DeVault 8b203c28f8
Merge pull request #1548 from emersion/error-invalid-transform
6 years ago
Ivan Molodetskikh b59370088e Update data-control
6 years ago
emersion d238cc9f56
surface: error out on invalid transform
6 years ago
Sebastian Krzyszkowiak 69b9e2ae8f Post protocol error on invalid wl_surface scale
6 years ago
emersion 8163f7e1e2
primary-selection-v1: copy from gtk-primary-selection
6 years ago
Geoff Greer 5c8d2da0a1 Add a wlr_output_set_subpixel()
6 years ago
Ivan Molodetskikh 9e49ceb129 data-control: add primary selection support
6 years ago
Drew DeVault 20d404a091
Merge pull request #1529 from emersion/better-dnd-fix
6 years ago
emersion 7f5967234c
xdg-shell: destroy child popups on unmap
6 years ago
emersion 556bf3ac31
data-device: destroy previous source when starting drag
6 years ago
Connor E c1d0729d9a Make popup inert when destroyed.
6 years ago
John Chen f24e17259e Fix swaywm/sway#3545.
6 years ago
Drew DeVault 28f11aec31
Merge pull request #1523 from emersion/set-same-selection-crash
6 years ago
Drew DeVault 16a93eddfb
Merge pull request #1519 from emersion/dedup-source-mime-type
6 years ago
emersion f1d3aeff9a
data-device: fix crash when setting the same selection twice
6 years ago
emersion 790f0c52a1
De-duplicate data source MIME types
6 years ago
emersion 7defb30781
relative-pointer-v1: time is in usec, not msec
6 years ago
emersion 29952dee19
data-device: only allow one drag at a time
6 years ago
emersion d6de329d98
seat: don't send motion if pointer hasn't moved
6 years ago
emersion c505ce3019
data-device: fix use-after-free on drop
6 years ago
emersion 2624f667bf
Add missing frame events to shell pointer grabs
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
Greg V 9fe8e37961 Implement the pointer-gestures-unstable-v1 protocol
6 years ago
Drew DeVault 018727b1fc
Merge pull request #1503 from emersion/pointer-frame
6 years ago
emersion 5fdf22b5d3
data-control-v1: handle NULL sources in set_selection
6 years ago
emersion 5de26ad8ed
pointer: add a frame event
6 years ago
emersion a1f9d7ad9e
data-device: keep track of wlr_data_offer in wlr_seat lists
6 years ago
emersion 909b3b16f3
data-device: add wlr_data_offer.type
6 years ago
emersion 3f82eb1853
data-device: make device inert when seat is destroyed
6 years ago
emersion 9d6cb85b2d
seat: simplify data source destroy
6 years ago
emersion c20d413f8a
data-device: fix missing listener removal
6 years ago
emersion 703a160078
data-control-v1: use new wlr_data_source API
6 years ago
emersion 0040f7089f
data-device: unexport wlr_seat_client_send_selection
6 years ago
emersion 1a2727cc38
data-device: send offer on get_data_device
6 years ago
emersion 84f278eca1
data-device: remove data_source_send_offer
6 years ago
emersion 1150ff13ce
data-device: make sources inert, rename cancel to destroy
6 years ago
emersion 4cb0697e57 data-device, primary-selection: add request_set_selection
6 years ago
Ian Fan c41d01306d wlr_xdg_output_v1: move where name & description are sent
6 years ago
Brian Ashworth f3ff40a0eb wlr_xdg_output_v1: only send name/description once
6 years ago
emersion 365a75139c
Merge pull request #1485 from emersion/data-device-serial
6 years ago
Ilya Trukhanov c4ce3d0a49 Check if client understands wl_pointer::frame
6 years ago
emersion 06467d2e12
primary-selection: add a serial argument
6 years ago
emersion a4eb90315e
Fix indentation in various files
6 years ago
Drew DeVault d4de2bd708
Merge pull request #1476 from emersion/fullscreen-shell
6 years ago
Drew DeVault 0db2a687b7
Merge pull request #1479 from emersion/lost-crtc-state
6 years ago
emersion d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
6 years ago
Ilya Trukhanov 268cc450b6 Fix segfault in get_relative_pointer
6 years ago
Connor E b1cdd2b4b3 Use assertions instead of guard.
6 years ago
Connor E e7fff4f560 Remove wlr_xdg_surface_send_close.
6 years ago
emersion 0fafab87e3
Fix a few typos
6 years ago
Drew DeVault e61ea7706b
Merge pull request #1423 from emersion/data-control
6 years ago
emersion f71cf15aad
relative-pointer-v1: move pointer iteration in wlroots
6 years ago
emersion 86f263a0b8
fullscreen-shell-v1: initial protocol implementation
6 years ago
emersion 610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
6 years ago
emersion 69e7fd61b7
data-control-v1: update to latest protocol proposal
6 years ago
emersion 340281b48a
data-control-v1: fix data source not properly destroyed
6 years ago
emersion a28167c255
data-control-v1: allow clearing selection
6 years ago
emersion ae1dd635b1
data-device: fix dangling listener in seat_client_selection_source_destroy
6 years ago
emersion aa2dafb7c8
data-control-v1: fix crash in manager_handle_get_data_control
6 years ago
emersion 1e581ad95c
data-control-v1: fix crash after wlr_data_control_v1_destroy
6 years ago
emersion 99d879c887
data-control-v1: initial protocol implementation
6 years ago
Alex Maese b8460f448c Rename some variables for clarity
6 years ago
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
Alex Maese 5999d0322b Add a listener for when the pointer gets destroyed
6 years ago
Alex Maese 12d9edc0c9 Address more of @emersion's comments
6 years ago
Alex Maese a803a007fb Address @emersion's comments
6 years ago
Alex Maese f5ea393bca Remove pointer resource from relative pointer
6 years ago
Alex Maese 09bdbf24f4 Removed relative pointers from wlr_seat
6 years ago
Alex Maese f4cf3c0886 Remove wl_client from wlr_relative_pointer_v1
6 years ago
random human 68137dca3f relative_pointer: implementation and code fixes
6 years ago
random human fb44ce9fa8 relative_pointer: send frame event to pointer for Xwayland
6 years ago
random human 6fa1777f94 relative_pointer: code formatting fixes
6 years ago
random human d020344675 relative_pointer: implement protocol events
6 years ago
random human ba5b1676df relative_pointer: implement protocol requests
6 years ago
random human 3a3d1b6617 relative_pointer: create skeleton and build
6 years ago
Ryan Walklin 2a3c62b4d2 [WIP][DONTMERGE]Add support for libinput_switch input devices
6 years ago
Drew DeVault ef9506b0bc
Merge pull request #1433 from ammen99/fix-layer-shell-unconstrain
6 years ago
Ilia Bozhinov 07865104e1 xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
6 years ago
emersion c2113decb3
gtk-primary-selection: warn when offering MIME type after set_selection
6 years ago
emersion 8c573bc7c6
gtk-primary-selection: basic serial validation
6 years ago
Ilia Bozhinov 5b1b9657bf types: implement wlr_foreign_toplevel_management_v1
6 years ago
emersion 1256314afe
export-dmabuf-v1: add missing destroy request handler
6 years ago
Drew DeVault fdb67ff63b
Merge pull request #1415 from emersion/tablet-seat-leak
6 years ago
emersion 3ca7ca5306
tablet-v2: fix wlr_tablet_seat_v2 leak
6 years ago
emersion 5515faa197
xdg-shell: emit xdg_surface destroy when role object is destroyed
6 years ago
Drew DeVault 273e110b74
Merge pull request #1403 from emersion/swap-buffers-damage-coords
6 years ago
emersion 6aaefad40d
output: switch swap_buffers damage to output-buffer-local coords
6 years ago
emersion 9f0720c03a
primary-selection: introduce wlr_primary_selection_source
6 years ago
emersion 658b590567
gtk-primary-selection: fix segfault when no focus
6 years ago
emersion bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago
emersion cbe42d1006
gtk-primary-selection: remove offer struct
6 years ago
emersion f001f98cef
gtk-primary-selection: refactor everything, untie from seat
6 years ago
Drew DeVault 05bb440786
Merge pull request #1387 from emersion/rename-gtk-primary-selection
6 years ago
Drew DeVault a2b8d47ff2
Merge pull request #1384 from emersion/data-multiple-devices
6 years ago
emersion a5b8ea90d2
surface: fix destroyed subsurfaces handling
6 years ago
emersion 4423f88fac
data-device: never cancel the source when offer is destroyed
6 years ago
emersion 5d26da9d15
data-device: allow multiple devices for the same seat
6 years ago
emersion 27d1910bec
text-input-v3: remove newline in log message
6 years ago
Drew DeVault 90f1a34d2c
Merge pull request #1375 from emersion/tablet-segfault
6 years ago
Ilia Bozhinov fb5691b6cc output: add wlr_output_preferred_read_format()
6 years ago
emersion 811a4d997b
Rename wlr_primary_selection to wlr_gtk_primary_selection
6 years ago
emersion eaafd65a12
gtk-primary-selection: track resources
6 years ago
emersion b9a2e4ba4c
gtk-primary-selection: support multiple devices
6 years ago
emersion 1b9ebcf645
output: make wlr_egl flip the damage
6 years ago
emersion ca770995cc
output: add wlr_output_render_software_cursors
6 years ago
emersion 57307b7aa7
output: remove wlr_output_set_fullscreen_surface
6 years ago
emersion 89ec624f81
tablet-v2: fix segfault on display destroy
6 years ago
emersion 95dfbe2962
xdg-shell: don't destroy xdg role state on role destroy
6 years ago
Julio Galvan a31fa678e5
Fix compilation error on musl
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
Drew DeVault d7b010024a
Merge pull request #1261 from arandomhuman/damage-control
6 years ago
emersion dec303bea6
surface: fix wlr_surface_get_effective_damage to give surface coords
6 years ago
emersion 62d646f2b8
render/gles2: remove assumptions about supported formats
6 years ago
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
6 years ago
emersion 346ec21c4c
util: use shm_open for in-memory files
6 years ago
Drew DeVault f668e49fae
Merge pull request #1340 from emersion/fix-input-method-destroy
6 years ago
emersion de8d87f5ae
input-method-v2: initialize destroy signal
6 years ago
emersion 3cb4ff3ff1
idle: allow zero timeout
6 years ago
Drew DeVault 6c7e0e48b1
Merge pull request #1289 from ixru/fix-cursor-visibility
6 years ago
Drew DeVault e0cf97da69
Merge pull request #1307 from emersion/static-analysis
6 years ago
emersion dfdbc1f870
output-layout, cursor: fix duplicate cursors
6 years ago
Drew DeVault ac26d23711
Merge pull request #1287 from emersion/source-seat-client
6 years ago
emersion 6730f5ba93
Merge pull request #1314 from nyorain/write_pixels_format
6 years ago
Dorota Czaplejewicz 14c6ee894e text-input: Don't reject enable requests when unfocused
6 years ago
nyorain cd28637187 Remove fmt parameter from wlr_texture_write_pixels
6 years ago
Drew DeVault e4a1560433
Merge pull request #1304 from nyorain/dmabuf_v1
6 years ago
emersion a9e02a9ea6 tablet-v2: fix memory leak on OOM, fix resource version
6 years ago
nyorain affbfb6a28 Support older wlr_linux_dmabuf_v1 clients
6 years ago
Dorota Czaplejewicz 226eedfa2b text-input: fix releasing destroy handlers
6 years ago
Drew DeVault 66e8908e9a
Merge pull request #1203 from dcz-purism/input
6 years ago
Dorota Czaplejewicz cec7471119 wlroots: add basic support for zwp_input_method_v2
6 years ago
Dorota Czaplejewicz 427735fcd9 wlroots: add support for zwp_text_input_unstable_v3
6 years ago
emersion 46b1ba386f output: remove idle_frame event source when destroying output
6 years ago
ixru 8d0997a5e7 Better placement of visibility check
6 years ago
ixru 6a9995d18c Fix cursor visibility on surface commit
6 years ago