summaryrefslogtreecommitdiffstats
path: root/c2.c
diff options
context:
space:
mode:
Diffstat (limited to 'c2.c')
-rw-r--r--c2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c2.c b/c2.c
index f70dcb5a7..6baf1337e 100644
--- a/c2.c
+++ b/c2.c
@@ -764,6 +764,7 @@ c2_l_postprocess(session_t *ps, c2_l_t *pleaf) {
if (pleaf->predef) {
switch (pleaf->predef) {
case C2_L_PFOCUSED: ps->o.track_focus = true; break;
+ // case C2_L_PROUNDED: ps->o.detect_rounded_corners = true; break;
case C2_L_PNAME:
case C2_L_PCLASSG:
case C2_L_PCLASSI:
@@ -1057,6 +1058,8 @@ c2_match_once_leaf(session_t *ps, win *w, const c2_l_t *pleaf,
case C2_L_PARGB: tgt = (WMODE_ARGB == w->mode); break;
case C2_L_PFOCUSED: tgt = win_is_focused_real(ps, w); break;
case C2_L_PWMWIN: tgt = w->wmwin; break;
+ case C2_L_PBSHAPED: tgt = w->bounding_shaped; break;
+ case C2_L_PROUNDED: tgt = w->rounded_corners; break;
case C2_L_PCLIENT: tgt = w->client_win; break;
case C2_L_PLEADER: tgt = w->leader; break;
default: *perr = true; assert(0); break;