From 97db599fd8726235beae62391724ad26aa0a0856 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 22 Mar 2020 16:52:29 +0000 Subject: [PATCH] win: always update frame extents Frame extents are only updated when the window has frame_opacity < 1. However, window frames can have inherent transparency, and not having the frame extents information for those windows breaks blur-background-frame. Fixes #345 Signed-off-by: Yuxuan Shui --- src/win.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/win.c b/src/win.c index 76c9b4f..8dea681 100644 --- a/src/win.c +++ b/src/win.c @@ -1001,8 +1001,7 @@ void win_mark_client(session_t *ps, struct managed_win *w, xcb_window_t client) win_update_wintype(ps, w); // Get frame widths. The window is in damaged area already. - if (ps->o.frame_opacity != 1) - win_update_frame_extents(ps, w, client); + win_update_frame_extents(ps, w, client); // Get window group if (ps->o.track_leader)