Refine shell status controls and glass rendering; defer cursor redraw safely
This commit is contained in:
1 parent
e85fc1e032
commit
b3fa82b53b
53 files changed
+3329
-259
No files matched your search
@@ -272,6 +272,10 @@ impl XdgShellHandler for Ferese {
|
||||
}
|
||||
if let Some(keyboard) = seat.get_keyboard() {
|
||||
keyboard.set_grab(self, PopupKeyboardGrab::new(&popup_grab), serial);
|
||||
// Focus the popup immediately, rather than waiting for its first
|
||||
// key event. Shell clients use focus to initialize popup effects,
|
||||
// and Escape must be delivered to the popup from the outset.
|
||||
keyboard.set_focus(self, popup_grab.current_grab(), serial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user