Update smithay

Updates for changes in https://github.com/Smithay/smithay/pull/1391.
This commit is contained in:
Ian Douglas Scott 2024-04-16 12:05:22 -07:00 committed by Victoria Brekenfeld
parent 5d5a510691
commit 17ddc7ce24
9 changed files with 27 additions and 25 deletions

View file

@ -541,7 +541,7 @@ impl PointerGrab<State> for MenuGrab {
.any(|elem| elem.pointer_entered);
if !any_entered {
if event.state == ButtonState::Pressed {
handle.unset_grab(state, event.serial, event.time, true);
handle.unset_grab(self, state, event.serial, event.time, true);
}
} else {
let selected = {
@ -554,7 +554,7 @@ impl PointerGrab<State> for MenuGrab {
selected
};
if selected && event.state == ButtonState::Released {
handle.unset_grab(state, event.serial, event.time, true);
handle.unset_grab(self, state, event.serial, event.time, true);
} else {
handle.button(state, event);
}