diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-04-13 00:39:20 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-04-13 00:39:20 +0200 |
commit | fdb7cdd5eea0ff34cac85e1265a1316f7e5c942a (patch) | |
tree | dcf3b57f9f51caed18259933884daef0be70e299 /src | |
parent | 02f7b01c888f2ad9ee106acaee30e226bff04532 (diff) |
Temp: revert bspwm fix because of flickering
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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; |