bugfix(x11): Use the right atom type in focus_window()

Closes #3248 by removing an Xlibism I forgot about

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2023-11-28 16:20:36 -08:00 committed by GitHub
parent e9784127df
commit da947992ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 7 deletions

View file

@ -81,6 +81,7 @@ use crate::{
// Xinput constants not defined in x11rb
const ALL_DEVICES: u16 = 0;
const ALL_MASTER_DEVICES: u16 = 1;
const ICONIC_STATE: u32 = 3;
type X11Source = Generic<BorrowedFd<'static>>;