Commit Graph

12 Commits

Author SHA1 Message Date
Richard Grenville 0d6724385e Feature: Issue #29: Alternative shadow blacklist implementation
- Add shadow blacklist feature, but a different implementation from
  nicklan's. 5 matching modes (exact, starts-with, contains, wildcard,
  PCRE) and 3 matching targets (window name, window class instance,
  window general class). Not extensively tested, bugs to be expected.
  It's slower for exact matching than nicklan's as it uses linear search
  instead of hash table. Also, PCRE's JIT optimization may cause issues
  on PaX kernels.

- Add dependency to libpcre. Could be made optional if we have a
  graceful way to handle that in Makefile.

- Some matching functions are GNU extensions of glibc. So this version
  may have troubles running on platforms not using glibc.

- Fix a bug that access freed memory blocks in set_fade_callcack() and
  check_fade_fin(). valgrind found it out.

- Use WM_CLASS to detect client windows instead of WM_STATE. Some client
  windows (like notification windows) have WM_CLASS but not WM_STATE.

- Mark the extents as damaged if shadow state changed in
  determine_shadow().

- Rewrite wid_get_name(). Code clean-up.

- Two debugging options: DEBUG_WINDATA and DEBUG_WINMATCH.

- As the matching system is ready, it should be rather easy to add other
  kinds of blacklists, like fading blacklist.
2012-09-22 11:42:39 +08:00
Richard Grenville f5aed89a67 Bug fix: Issue #36: Chromium window painting problems
More descriptions on issue #36.

- Listens ShapeNotify event to get around the Chromium window painting
  issues.

- Adds dependency on X Shape extension.

- Adds a few functions for convenience, so a bit code clean up.

- Better event debug support, adds restack_win() debug.
2012-09-11 21:33:03 +08:00
hasufell b34f175e51 add and clarify dependencies, build/runtime 2012-03-18 02:17:08 +01:00
Christopher Jeffrey a353f5bc4b refactor. remove a lot of dead code. 2012-02-26 22:28:06 -06:00
Christopher Jeffrey 1e2bb55744 disable fading opacity changes 2011-12-09 08:48:56 -06:00
Christopher Jeffrey 9577fcd344 fix readme 2011-11-16 00:12:42 -06:00
Christopher Jeffrey 2cb499de0b add options to readme 2011-11-16 00:04:38 -06:00
Christopher Jeffrey e7ee7018a4 readme, etc 2011-11-06 22:03:18 -06:00
Christopher Jeffrey b87efad014 fix gcc warning, have shadows be explicitly enabled 2011-11-06 19:29:23 -06:00
Christopher Jeffrey de8b773387 clean tree 2011-11-06 18:20:45 -06:00
Christopher Jeffrey cde4d0c75f complete frame opacity 2011-11-05 22:58:43 -05:00
Christopher Jeffrey 47d61d34ae add readme 2011-11-04 13:52:05 -05:00