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 <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-03-22 16:52:29 +00:00
parent 2523829f4c
commit 97db599fd8
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 2 deletions

View File

@ -1001,7 +1001,6 @@ 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);
// Get window group