Misc: --paint-exclude & #119

- Add --paint-exclude to prevent certain windows from being painted, for
  debugging purposes.

- Add predefined matching target "x", "y", "width", "height", "widthb",
  "heightb", "border_width", and "fullscreen".

- Fix bug #119, wrong man page install dir in CMake configuration.
  Thanks to sstewartgallus for reporting.
This commit is contained in:
Richard Grenville
2013-06-19 19:36:48 +08:00
parent 044a5c991c
commit c02b3fadf0
6 changed files with 58 additions and 12 deletions

View File

@ -478,17 +478,6 @@ dump_drawable(session_t *ps, Drawable drawable) {
}
}
/**
* Check if a window is a fullscreen window.
*
* It's not using w->border_size for performance measures.
*/
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;
}
static void
win_rounded_corners(session_t *ps, win *w);