Commit graph

2009 commits

Author SHA1 Message Date
Victoria Brekenfeld
f9c3e17c90 popup: Fix PopupGrabs with new input abstractions 2022-08-30 21:42:32 +02:00
Victoria Brekenfeld
2228c611e7 input: Fixup Debug implementations 2022-08-30 21:41:31 +02:00
i509VCB
1ef4ade097
Merge pull request #728 from i509VCB/vulkan/phd-format_properties
vulkan: add PhysicalDevice::get_format_properties
2022-08-30 10:28:31 -05:00
Victoria Brekenfeld
6e6f1f4d29
Merge pull request #695 from Smithay/update/drm-0.7
deps: Update to drm-rs 0.7
2022-08-30 13:26:18 +02:00
Victoria Brekenfeld
eddab83d98 deps: Update to drm-rs 0.7 2022-08-30 13:13:08 +02:00
Victoria Brekenfeld
79c096cfcf
Merge pull request #722 from chrisduerr/seat_cushion
Fix new seat module ergonomics
2022-08-30 12:55:34 +02:00
i509VCB
5e7f8764ae
vk-allocator: use PhysicalDevice::get_format_properties 2022-08-29 23:12:29 -05:00
i509VCB
8a436eb950
vulkan: add PhysicalDevice::get_format_properties 2022-08-29 23:10:40 -05:00
Christian Duerr
8d27193d43
Fix new seat module ergonomics
The recent seat handling changes made in 78ebaa6 have added some
friction to the way input and specifically the keyboard is handled. This
patch aims at making it easier to migrate to the new design.

To allow for easy access to the compositor state, the state is now
passed to the closure in the keyboard's `input` function. While this
makes sense as the simplest solution to this problem, a possible
alternative would be to move this function to the seat handler in the
future.
2022-08-29 21:34:45 +02:00
Victoria Brekenfeld
959de4b48d gles2: Fix update_memory 2022-08-29 17:34:44 +00:00
Victoria Brekenfeld
4ea4b3f5a3
Merge pull request #723 from Smithay/fix/xdg_decoration_ref_cycle
xdg/decoration: Cleanup reference cycle
2022-08-29 09:12:47 -06:00
Victoria Brekenfeld
82347e8342 xdg/decoration: Cleanup reference cycle 2022-08-29 16:03:52 +02:00
Victoria Brekenfeld
47690702b1
Merge pull request #710 from rano-oss/bugfix/input_method_popup_surface_must_stay_on_focused_surface
Bugfix/input method popup surface must stay on focused surface
2022-08-27 11:38:08 -06:00
rano-oss
c37f34be0e
Merge branch 'Smithay:master' into bugfix/input_method_popup_surface_must_stay_on_focused_surface 2022-08-27 01:31:18 +02:00
Bartłomiej Maryńczak
15ae638295
Remove magic type signatures in favor of public type aliases (#709) 2022-08-27 00:51:29 +02:00
rano-oss
77440d9def remove redundant option 2022-08-24 16:44:53 +02:00
rano-oss
19aeca1f52 pleasing the borrow checker 2022-08-24 15:56:12 +02:00
Eivind Gamst
b8a217e33f enter focused surface on IME start 2022-08-24 15:17:12 +02:00
Eivind Gamst
0379c1f79a cargo fmt 2022-08-24 15:17:12 +02:00
Eivind Gamst
2ed7b086cf Leave text input on input method destruction 2022-08-24 15:17:12 +02:00
Eivind Gamst
239e847035 Renaming 2022-08-24 15:17:12 +02:00
Eivind Gamst
646bc753cf Avoid unnecessary interdependence 2022-08-24 15:16:55 +02:00
Eivind Gamst
1a376a8b2b formatting clippy etc 2022-08-24 15:14:52 +02:00
Eivind Gamst
6f4876e05d Remove flickering when changing focused surface 2022-08-24 15:11:24 +02:00
Eivind Gamst
5eb02e52ca Make input popup surface stay on focused surface 2022-08-24 15:10:03 +02:00
Victoria Brekenfeld
09abc9ff6b
Merge pull request #410 from chrisduerr/kde_server_decoration
Add KDE server-decoration support
2022-08-24 06:21:31 -06:00
Victoria Brekenfeld
5511a93778
Merge pull request #689 from Smithay/feature/input_split_2 2022-08-24 06:02:22 -06:00
Victoria Brekenfeld
34e162a92d wayland/seat: with_ -> _for_each 2022-08-24 11:37:00 +00:00
Victoria Brekenfeld
2b02c82b06 anvil: Remove some unused dh arguments 2022-08-24 11:37:00 +00:00
Victor Berger
d902f2cddf ci: don't store history on gh-pages 2022-08-24 11:44:52 +02:00
Victoria Brekenfeld
f3fdee8919 wayland/seat: Provide default impl for same_client_as 2022-08-23 20:10:58 +00:00
Victoria Brekenfeld
141d246d13 input: Remove old trait bounds 2022-08-23 20:08:12 +00:00
Victoria Brekenfeld
ecafb6ed7a
Merge pull request #715 from cmeissl/fix/drm_surface_drop_deadlock
drm: prevent deadlock on drop
2022-08-23 13:59:00 -06:00
Christian Meissl
6c7c265008 drm: prevent deadlock on drop
DrmSurface would deadlock on drop
if additional planes have been used
2022-08-23 21:06:15 +02:00
Victoria Brekenfeld
66d004fb57 utils: Make IsAlive available without wayland_frontend 2022-08-23 14:35:21 +00:00
Victoria Brekenfeld
b38ef30246 input: Fix doc tests 2022-08-23 14:35:21 +00:00
Victoria Brekenfeld
c887e72b38 fmt fixes 2022-08-23 12:17:09 +00:00
Victoria Brekenfeld
6512eea537 clippy fixes 2022-08-23 12:15:29 +00:00
Victoria Brekenfeld
78e11a1bb7 input: docs for new associated types 2022-08-23 12:13:33 +00:00
Victoria Brekenfeld
50dfc5736a input: fix examples, smallvil, wlcs 2022-08-23 12:04:59 +00:00
Victoria Brekenfeld
851f6cc747 input: Be generic over focus targets 2022-08-23 10:54:23 +00:00
Victoria Brekenfeld
7df872cea0 input: Rename *Handler to Target 2022-08-22 16:54:27 +00:00
Victoria Brekenfeld
7d755cd5e0
Merge pull request #714 from cmeissl/fix/anvil_wl_display_double_bind
anvil: do not double bind wl_display
2022-08-22 10:46:34 -06:00
Victoria Brekenfeld
9fd472c5ab
Merge pull request #713 from cmeissl/fix/clear_correct_plane
drm: clear the correct plane
2022-08-22 10:42:36 -06:00
Victoria Brekenfeld
771edca9cc input: Don't mutable borrow handlers
If handlers can by cloned and the reference shall still match a test
with same_handler_as, they need to have interior mutability anyway
and likely represent handles like the wl_surface.

For that reason it makes no sense to require mutable access to send
events.
2022-08-22 16:41:13 +00:00
Victoria Brekenfeld
fb1f498521 wayland/seat: Use type for serialized modifiers 2022-08-22 16:41:13 +00:00
Victoria Brekenfeld
35a1f9531d Apply suggestions from code review
Co-authored-by: i509VCB <git@i509.me>
2022-08-22 16:41:13 +00:00
Victoria Brekenfeld
7f086734a6 input: Fix warnings without wayland feature 2022-08-22 16:41:13 +00:00
Victoria Brekenfeld
3f7afb653a input: Fix tests 2022-08-22 16:41:13 +00:00
Victoria Brekenfeld
9f4cd862f8 input: clippy fixes 2022-08-22 16:41:13 +00:00