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:
parent
6f643d1d3a
commit
66322b1e90
2 changed files with 29 additions and 41 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue