summaryrefslogtreecommitdiffstats
path: root/c2.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2014-04-21 22:45:27 +0800
committerRichard Grenville <[email protected]>2014-04-21 22:45:27 +0800
commit5df42e8eb18437bdaa431b8fd5c422c66d67b75f (patch)
treee4089a88ff7a16ce4ca41f8b3c60f620709402b1 /c2.h
parent6a5738080a69b6978c81a257c4784ab67ce8de92 (diff)
downloadtdebase-5df42e8eb18437bdaa431b8fd5c422c66d67b75f.tar.gz
tdebase-5df42e8eb18437bdaa431b8fd5c422c66d67b75f.zip
Bug fix #191: Add rounded-corners detection to --unredir-if-possible
Add `bounding_shape` and `rounded_corners` as condition match target. Deprecate --shadow-ignore-shaped. Add rounded-corners detection to win_is_fullscreen(). Slightly modify win_rounded_corners() logic. Thanks to tdryer for reporting. (#191)
Diffstat (limited to 'c2.h')
-rw-r--r--c2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c2.h b/c2.h
index 3c56e2fa7..e9aaf8b59 100644
--- a/c2.h
+++ b/c2.h
@@ -113,6 +113,8 @@ struct _c2_l {
C2_L_PARGB,
C2_L_PFOCUSED,
C2_L_PWMWIN,
+ C2_L_PBSHAPED,
+ C2_L_PROUNDED,
C2_L_PCLIENT,
C2_L_PWINDOWTYPE,
C2_L_PLEADER,
@@ -201,6 +203,8 @@ const static c2_predef_t C2_PREDEFS[] = {
[C2_L_PARGB ] = { "argb" , C2_L_TCARDINAL , 0 },
[C2_L_PFOCUSED ] = { "focused" , C2_L_TCARDINAL , 0 },
[C2_L_PWMWIN ] = { "wmwin" , C2_L_TCARDINAL , 0 },
+ [C2_L_PBSHAPED ] = { "bounding_shaped" , C2_L_TCARDINAL , 0 },
+ [C2_L_PROUNDED ] = { "rounded_corners" , C2_L_TCARDINAL , 0 },
[C2_L_PCLIENT ] = { "client" , C2_L_TWINDOW , 0 },
[C2_L_PWINDOWTYPE ] = { "window_type" , C2_L_TSTRING , 0 },
[C2_L_PLEADER ] = { "leader" , C2_L_TWINDOW , 0 },