Victoria Brekenfeld
134f726dfb
Merge pull request #490 from Smithay/vberger/fix-grabs
...
wayland.seat: Fix pointer grab API
2022-02-02 16:44:58 +01:00
Victoria Brekenfeld
8c92e5f720
Merge pull request #486 from Smithay/fix/dnd_seat
...
data_device: Pass seat to DnD events
2022-02-02 16:40:28 +01:00
Victor Berger
d797cdcdcb
wayland.seat: Fix pointer grab API
...
The pointer grab mecanism had a few inconsistencies in its behavior when
a grab is set or unset. THis commit uniformizes the behavior, and also
introduces a synthetic motion event when the grab is set, allowing the
newly set grab to change the focus or the pointer location if needed.
Also adjust the DnDGrab, as well as the resize and move grabs from anvil
to unset the focus while they are active, matching weston's behavior.
2022-02-01 19:42:01 +01:00
Victoria Brekenfeld
d04a999bf8
Merge pull request #487 from cmeissl/fix/dma_buffer_fd_leak
...
fix dma buffer fd leak
2022-01-31 18:54:18 +01:00
Christian Meissl
8e8e1f7a94
fix dma buffer fd leak
2022-01-31 17:50:42 +01:00
Victoria Brekenfeld
11ab4c7f92
data_device: Pass seat to DnD events
2022-01-30 16:45:51 +01:00
Bartłomiej Maryńczak
3c19df03e1
Merge pull request #485 from chrisduerr/remove_stuff
...
Remove socket initialization from udev.rs
2022-01-29 20:40:33 +01:00
Victoria Brekenfeld
36c79a2735
Merge pull request #484 from Smithay/feature/drm_timings
2022-01-29 15:08:39 +01:00
Christian Duerr
c6cbce2082
Remove socket initialization from udev.rs
...
Since `AnvilState::init` already initializes the socket, it shouldn't be
necessary to duplicate this in the `udev.rs` backend.
2022-01-29 14:31:42 +01:00
Victoria Brekenfeld
20051d384d
drm: Use EventMetadata to pass on frame timings
2022-01-27 21:18:37 +01:00
Victoria Brekenfeld
ab89bda503
Merge pull request #483 from Smithay/deps/update_drm
...
deps: Update drm-rs and gbm-rs
2022-01-26 21:23:32 +01:00
Victoria Brekenfeld
7c886e05d2
Merge pull request #482 from Smithay/feature/gbm_generics
...
gbm: Allow usage of other allocators for GbmBufferedSurface
2022-01-26 20:41:44 +01:00
Victoria Brekenfeld
ac265a3d68
deps: Update drm-rs and gbm-rs
2022-01-26 20:30:06 +01:00
Victoria Brekenfeld
3454146c92
gbm: Allow usage of other allocators for GbmBufferedSurface
2022-01-26 20:13:41 +01:00
Victoria Brekenfeld
adb7553888
Merge pull request #480 from Smithay/fix/winit_buffer_age
...
winit: Fix returned buffer age
2022-01-25 18:59:45 +01:00
Victoria Brekenfeld
cd26ac1507
egl: Handle buffer age query errors
2022-01-25 16:38:00 +01:00
Victoria Brekenfeld
8558253b13
Merge pull request #473 from dragonnn/render_layers
...
Add layer definition to RenderElement
2022-01-24 16:01:05 +01:00
Victoria Brekenfeld
25d23448af
Merge pull request #469 from cmeissl/fix/xdg_toplevel_parent
...
fix setting the parent of a ToplevelSurface
2022-01-24 16:00:50 +01:00
Victor Berger
71fad616f8
Merge pull request #467 from cmeissl/feature/popup_grab
...
Add support for popup grabs to desktop abstraction
2022-01-23 21:47:38 +01:00
dragonn
b11fef8a90
remove not need &mut in render_elements extend
2022-01-23 19:58:11 +01:00
Victoria Brekenfeld
09dca039ec
Merge pull request #478 from Smithay/fix/swapchain_submit
...
swapchain: Don't force release of submitted buffers
2022-01-23 19:43:58 +01:00
Victoria Brekenfeld
eed342a1a4
Merge pull request #477 from Smithay/fix/render_elem_multi_output
...
space: Pass a location to `RenderElement::draw`
2022-01-23 19:43:34 +01:00
Victoria Brekenfeld
bdf3a50b63
Merge pull request #479 from i509VCB/docs/render_at
...
renderer: describe at parameter in Frame::clear
2022-01-22 22:18:38 +01:00
Victoria Brekenfeld
6ae0a3510a
winit: Fix returned buffer age
2022-01-22 22:13:59 +01:00
i509VCB
c5f24fe574
renderer: describe at parameter in Frame::clear
2022-01-22 14:31:46 -06:00
Victoria Brekenfeld
0077a7abf6
swapchain: Don't force release of submitted buffers
2022-01-22 21:15:20 +01:00
Victoria Brekenfeld
ff81fce786
space: Pass a location to `RenderElement::draw`
2022-01-21 18:52:07 +01:00
dragonn
3f86c5b94d
small reorder in RenderZindex and change z_index logic in popups
2022-01-20 20:43:04 +01:00
dragonn
15c9e9adf0
change default layer for Windows to Shell
2022-01-20 20:04:22 +01:00
dragonn
97c831acbc
rework damage tracking to render_elements and use extend
2022-01-20 20:04:05 +01:00
dragonn
f0564ebad6
store parent_layer in RenderPopup for z_index implemantion
2022-01-20 20:03:33 +01:00
dragonn
d7415e6fa9
remove left over comment from default implemantion for z_index
2022-01-20 19:51:41 +01:00
dragonn
cbb2c1e541
fine to return 0 when LayerSurface doesn't have layer
2022-01-20 19:45:59 +01:00
dragonn
6477942122
add extra derives to RenderZindex
2022-01-20 19:45:30 +01:00
dragonn
53c6bf003f
suppres clippy len_without_is_empty for LayerMap
2022-01-20 19:18:00 +01:00
dragonn
957f1c522b
rework renderlayer to zindex solution
2022-01-20 19:11:58 +01:00
Victoria Brekenfeld
e019b4fa9e
Merge pull request #475 from Smithay/fix/popup_output_events
...
Send popups and layers output enter/leave events as well
2022-01-20 12:57:50 +01:00
Victoria Brekenfeld
f935b54f2c
Merge pull request #474 from Smithay/fix/layer_popup_frames
2022-01-20 12:14:55 +01:00
dragonn
dea000921b
add comments to DynamicRenderElementMap
2022-01-19 22:02:35 +01:00
dragonn
2b1e389495
move DynamicRenderElementMap and it's friends to elements.rs
2022-01-19 21:12:54 +01:00
Victoria Brekenfeld
f18ebd6405
desktop.layer: Send output enter/leave events to popups
2022-01-19 20:51:03 +01:00
Victoria Brekenfeld
98da5fe467
desktop: Refactor output_{enter, leave} into utils
2022-01-19 20:51:03 +01:00
Victoria Brekenfeld
3b99a2c9dd
desktop.layer: Send output enter/leave events
2022-01-19 20:51:03 +01:00
Victoria Brekenfeld
a099ccbb2e
desktop.layer: Use a proper logger
2022-01-19 20:51:03 +01:00
Victoria Brekenfeld
017146304e
desktop.layer: Send frames to popups
2022-01-19 20:46:49 +01:00
dragonn
3ae387e991
DynamicRenderElementMap as a helper for iter on custom_elements
2022-01-19 17:35:30 +01:00
Mateusz
478fe62808
Move chain to upper chain in loop
...
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2022-01-19 16:49:15 +01:00
Mateusz
d7dfe2e3b6
Move chain to upper chain in render loop
...
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2022-01-19 16:49:03 +01:00
Victoria Brekenfeld
a5efee5c21
Merge pull request #472 from chrisduerr/exclusive_zone_eq
...
Add PartialEq/Eq implementation for ExclusiveZone
2022-01-19 10:52:16 +01:00
dragonn
b9ecc3c2d4
add layer definition to RenderElement
2022-01-18 22:15:47 +01:00