diff options
| author | allusive-dev <[email protected]> | 2023-10-13 17:01:49 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-10-13 17:01:49 +1100 |
| commit | a7fc0f0580a6ae12347fc761e80bdb8caf343905 (patch) | |
| tree | 30e615175993c915cbaed8daafa7b8e218d39b2e | |
| parent | testing corner-rules again (diff) | |
| download | compfy-0.3.2.tar.xz compfy-0.3.2.zip | |
testing corner-rules 3rd time0.3.2
| -rw-r--r-- | src/win.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1393,6 +1393,8 @@ static void win_determine_rounded_corners(session_t *ps, struct managed_win *w) w->corner_radius = 0; return; } + + void *val = NULL; // Don't round full screen windows & excluded windows if ((w && win_is_fullscreen(ps, w)) || @@ -1400,7 +1402,6 @@ static void win_determine_rounded_corners(session_t *ps, struct managed_win *w) w->corner_radius = 0; log_debug("Not rounding corners for window %#010x", w->base.id); } else if (c2_match(ps, w, ps->o.corner_rules, &val)) { - void *val = NULL; w->corner_radius = val; } else { w->corner_radius = ps->o.corner_radius; |