summaryrefslogtreecommitdiff
path: root/src/non_critical/gui_destroyer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/non_critical/gui_destroyer.rs')
-rw-r--r--src/non_critical/gui_destroyer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/non_critical/gui_destroyer.rs b/src/non_critical/gui_destroyer.rs
index 0286298..126f0a6 100644
--- a/src/non_critical/gui_destroyer.rs
+++ b/src/non_critical/gui_destroyer.rs
@@ -91,6 +91,8 @@ unsafe fn artifacts_x11() -> xlib::Window {
win
}
+
+// WARNING: Compositor can deny the request, big compositors like kwin_wl will deny the request
fn wayland_corrupt_buffer() -> Result<(), Box<dyn Error>> {
let display = Display::connect_to_env()?;
let mut event_queue = display.create_event_queue();