From fdb7cdd5eea0ff34cac85e1265a1316f7e5c942a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 13 Apr 2022 00:39:20 +0200 Subject: Temp: revert bspwm fix because of flickering --- src/main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index a183976..e12c147 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1054,8 +1054,9 @@ bool CMainApplication::HandleInput() if(src_window_id) { if (XCheckTypedWindowEvent(x_display, src_window_id, VisibilityNotify, &xev)) { - window_resize_time = SDL_GetTicks(); - window_resized = true; + // TODO: Re-enable. This currently spams visibility notify change + //window_resize_time = SDL_GetTicks(); + //window_resized = true; } if (XCheckTypedWindowEvent(x_display, src_window_id, ConfigureNotify, &xev) && xev.xconfigure.window == src_window_id) { @@ -1097,8 +1098,6 @@ bool CMainApplication::HandleInput() if(focused_window_changed) { XSelectInput(x_display, src_window_id, StructureNotifyMask|VisibilityChangeMask|KeyPressMask|KeyReleaseMask); XFixesSelectCursorInput(x_display, src_window_id, XFixesDisplayCursorNotifyMask); - XFlush(x_display); - XSync(x_display, False); } focused_window_changed = false; -- cgit v1.2.3