1
0
Fork 0
forked from wry/wry

autocommit 2022-04-08 00:04:55 CEST

This commit is contained in:
Julian Orth 2022-04-08 00:04:55 +02:00
parent 26f8c1aeb6
commit 0bd9a70e69
10 changed files with 35 additions and 12 deletions

View file

@ -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> {