mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-17 20:11:29 +03:00
fix misleading warning
This commit is contained in:
@@ -719,9 +719,11 @@ impl Dispatch<wl_pointer::WlPointer, ()> for State {
|
|||||||
* it is impossible to grab it again (since the pointer
|
* it is impossible to grab it again (since the pointer
|
||||||
* lock, relative pointer,... objects are still in place)
|
* lock, relative pointer,... objects are still in place)
|
||||||
*/
|
*/
|
||||||
app.ungrab();
|
if app.pointer_lock.is_some() {
|
||||||
log::warn!("compositor released mouse");
|
log::warn!("compositor released mouse");
|
||||||
}
|
}
|
||||||
|
app.ungrab();
|
||||||
|
}
|
||||||
wl_pointer::Event::Button {
|
wl_pointer::Event::Button {
|
||||||
serial: _,
|
serial: _,
|
||||||
time,
|
time,
|
||||||
|
|||||||
Reference in New Issue
Block a user