Kill clients missing WM_DELETE_WINDOW protocol on close
Allows the compositor to close glxgears and other similar apps.
This commit is contained in:
parent
198ac851ee
commit
67efa2c559
3 changed files with 66 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use crate::server::{ObjectEvent, ObjectKey};
|
||||
use std::os::unix::net::UnixStream;
|
||||
use std::sync::{mpsc, Mutex, Once, OnceLock};
|
||||
use std::sync::{mpsc, Mutex, OnceLock};
|
||||
use wayland_client::protocol::{
|
||||
wl_buffer::WlBuffer, wl_callback::WlCallback, wl_compositor::WlCompositor,
|
||||
wl_keyboard::WlKeyboard, wl_output::WlOutput, wl_pointer::WlPointer, wl_region::WlRegion,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue