autocommit 2022-04-08 00:04:55 CEST
This commit is contained in:
parent
26f8c1aeb6
commit
0bd9a70e69
10 changed files with 35 additions and 12 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use std::ops::Not;
|
||||
use {
|
||||
crate::{
|
||||
client::Client,
|
||||
|
|
@ -448,7 +449,7 @@ impl ToplevelNode for Xwindow {
|
|||
}
|
||||
|
||||
fn accepts_keyboard_focus(&self) -> bool {
|
||||
self.data.info.input_model.get() != XInputModel::None
|
||||
self.data.info.never_focus.get().not() && self.data.info.input_model.get() != XInputModel::None
|
||||
}
|
||||
|
||||
fn default_surface(&self) -> Rc<WlSurface> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue