From 21080d2cbb5c77fc2888bc3887880d262f247233 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 9 Sep 2022 19:22:58 +0400 Subject: [PATCH] Disable WM check --- rust-polytreewm/src/xbase.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-polytreewm/src/xbase.rs b/rust-polytreewm/src/xbase.rs index bb312ad..b9c8063 100644 --- a/rust-polytreewm/src/xbase.rs +++ b/rust-polytreewm/src/xbase.rs @@ -78,5 +78,7 @@ unsafe extern "C" fn x_error_wm_check( _display: *mut Display, _x_error_event: *mut xlib::XErrorEvent, ) -> c_int { - panic!("another window manager is already running"); + // FIXME: + // panic!("another window manager is already running"); + 0 }