diff --git a/src/win.c b/src/win.c index 4c98fab..73d4e2d 100644 --- a/src/win.c +++ b/src/win.c @@ -129,10 +129,6 @@ void win_rounded_corners(session_t *ps, win *w) { if (!w->bounding_shaped) return; - // Fetch its bounding region - if (!pixman_region32_not_empty(&w->bounding_shape)) - win_update_bounding_shape(ps, w); - // Quit if border_size() returns None if (!pixman_region32_not_empty(&w->bounding_shape)) return; diff --git a/src/win.h b/src/win.h index e2a8cd3..9374283 100644 --- a/src/win.h +++ b/src/win.h @@ -37,7 +37,6 @@ void win_unmark_client(session_t *ps, win *w); void win_recheck_client(session_t *ps, win *w); Window win_get_leader_raw(session_t *ps, win *w, int recursions); bool win_get_class(session_t *ps, win *w); -void win_rounded_corners(session_t *ps, win *w); void win_calc_opacity(session_t *ps, win *w); void win_calc_dim(session_t *ps, win *w); /**