diff options
author | Richard Grenville <[email protected]> | 2014-04-21 22:45:27 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2014-04-21 22:45:27 +0800 |
commit | 5df42e8eb18437bdaa431b8fd5c422c66d67b75f (patch) | |
tree | e4089a88ff7a16ce4ca41f8b3c60f620709402b1 /common.h | |
parent | 6a5738080a69b6978c81a257c4784ab67ce8de92 (diff) | |
download | tdebase-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 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1962,7 +1962,7 @@ rect_is_fullscreen(session_t *ps, int x, int y, unsigned wid, unsigned hei) { static inline bool win_is_fullscreen(session_t *ps, const win *w) { return rect_is_fullscreen(ps, w->a.x, w->a.y, w->widthb, w->heightb) - && !w->bounding_shaped; + && (!w->bounding_shaped || w->rounded_corners); } /** |