refactor: popup for tooltip

this conflicts with autopopup switching. Either I need to drop autopopup switching, disable tooltips if autopopup switching is enabled, or I need to change how autohopopup switching is implemented to use dbus or wayland protocols instead of simulating a click.
This commit is contained in:
Ashley Wulber 2025-02-27 01:09:16 -05:00
parent 6f643d1d3a
commit 66322b1e90
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 29 additions and 41 deletions

View file

@ -524,6 +524,7 @@ pub fn update<
SctkPopupSettings {
parent,
id,
input_zone: None,
positioner: SctkPositioner {
size: Some((selections_width as u32 + gap as u32 + pad_width as u32 + icon_width as u32, 10)),
anchor_rect,
@ -534,7 +535,7 @@ pub fn update<
},
parent_size: None,
grab: true,
close_with_children: true
close_with_children: true,
},
Arc::new(move || {
Element::from(