Commit Graph

1457 Commits

Author SHA1 Message Date
Richard Grenville f280750a03 Debug: Enhanced debugging capability
- Change all #if DEBUG_XXX directives to #ifdef, thus making it
  possible to directly enable debugging options with CFLAGS
  (-DDEBUG_XXX).

- Print timestamp before event debugging messages.
2012-09-12 09:08:15 +08:00
Richard Grenville c905c882b4 Bug fix: Segfault when encountering invalid long option
I didn't read the documentation of getopt_long() carefully.
2012-09-11 23:11:23 +08:00
Richard Grenville 129115171a Bug fix: Issue #37, fix 5 opacity-related bugs
More details in the bug report.

- Rewritten much of the opacity calculation, code cleanup.

- Commandline switch --inactive_opacity_override to restore the old
  behavior in which inactive_opacity has higher priority than
  _NET_WM_OPACITY.
2012-09-11 22:22:58 +08:00
Richard Grenville deaaf5c5cf Feature: Issue #35, Add colored shadows
- Use getopt_long() instead of getopt() for argument parsing, making
  long options possible.

- Add support of colored shadows with 3 commandline switches.
2012-09-11 21:57:50 +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
Richard Grenville 8628371a83 Bug fix: Issue #38, fixes painting specially-shaped semi-transparent windows
Fix taken from xcompmgr.
2012-09-11 21:11:06 +08:00
Richard Grenville 4861d50ca4 Misc: Add Vim swap files to .gitignore 2012-09-11 21:07:29 +08:00
Christopher Jeffrey eb3b13145d avoid allocating a new win struct if possible 2012-09-08 21:13:56 -05:00
Christopher Jeffrey 02e2deea54 add richardgv's patch. see #31. 2012-09-08 21:04:44 -05:00
Christopher Jeffrey 94efff0bb2 apply patch from richardgv. fixes #5. 2012-09-07 11:51:08 -05:00
Christopher Jeffrey 2a566e83a7 rename settrans to compton-trans, add manpage. 2012-06-23 17:39:49 -05:00
Christopher Jeffrey f358eb5962 rename, refactor again. 2012-06-03 12:35:33 -05:00
Christopher Jeffrey 3dfaea3698 refactor, rename 2012-06-03 11:08:50 -05:00
Christopher Jeffrey 84b7c3e65d minor settrans changes 2012-05-27 19:21:14 -05:00
Christopher Jeffrey d52f7a06db refactor settrans 2012-04-01 00:01:31 -05:00
Christopher Jeffrey 24bf591bd7 destdir 2012-03-20 19:30:20 -05:00
Christopher Jeffrey 24ffba0e51 use destdir. closes #15. 2012-03-20 19:27:51 -05:00
Christopher Jeffrey b3a272185d Merge pull request #14 from hasufell/master
enhance readme
2012-03-17 18:26:04 -07:00
hasufell b34f175e51 add and clarify dependencies, build/runtime 2012-03-18 02:17:08 +01:00
Christopher Jeffrey efd5643858 Merge pull request #13 from hasufell/patch-1
improve build system
2012-03-17 18:05:53 -07:00
hasufell a0f4bfb5e8 respect cflags and ldflags, default to gcc if CC is unset, fix install-method 2012-03-18 02:00:49 +01:00
Christopher Jeffrey 5a95e51a06 Merge pull request #12 from timvdalen/master
Fixed usage text
2012-03-17 16:21:33 -07:00
Tim van Dalen 1584805ea7 Fixed a (very) small 'bug' in the usage text, -f wasn't printed on a new line. 2012-03-17 19:01:28 +01:00
Christopher Jeffrey f7b57d527f improve make install. closes #9. 2012-02-28 09:04:10 -06:00
Christopher Jeffrey 674ac5b6cd stop listening for property events on client window after unmap 2012-02-28 01:52:41 -06:00
Christopher Jeffrey 0e956de906 fix makefile to work without gnu cp 2012-02-27 10:59:36 -06:00
Christopher Jeffrey b01cfea5c6 minor changes 2012-02-27 10:41:12 -06:00
Christopher Jeffrey 8f4eafaf79 reorganize tree 2012-02-27 05:22:33 -06:00
Christopher Jeffrey a353f5bc4b refactor. remove a lot of dead code. 2012-02-26 22:28:06 -06:00
Christopher Jeffrey 1591d8b4ce Merge pull request #8 from XeCycle/master
Two new features
2012-02-26 19:11:02 -08:00
XeCycle d226a9d988 Add -b option to fork to background. 2012-02-27 01:02:42 +08:00
XeCycle 92eb57ff44 Add option to avoid DND shadows. 2012-02-27 00:35:17 +08:00
Christopher Jeffrey c01befec1f dont zero frame extents. possible fix for #6. 2012-02-22 01:09:16 -06:00
Christopher Jeffrey b93c6875cf change prefix 2012-02-20 04:38:16 -06:00
Christopher Jeffrey 8dbcaeebb5 Merge branch 'new_refactor' 2012-02-20 03:55:43 -06:00
Christopher Jeffrey add305d69a move some functions around 2012-02-09 03:37:46 -06:00
Christopher Jeffrey 69c31fc168 put typedefs and defs in header. organize declarations. 2012-02-08 16:45:08 -06:00
Christopher Jeffrey eee5668600 put typedefs and defs in header 2012-02-08 04:34:33 -06:00
Christopher Jeffrey cfe78e7ca5 put all functions in header file 2012-02-08 04:31:39 -06:00
Christopher Jeffrey 2424980f22 major refactor 2012-02-08 04:20:22 -06:00
Christopher Jeffrey c451c08058 dont draw shadows on WINTYPE_DESKTOP windows 2012-02-06 13:20:44 -06:00
Christopher Jeffrey c4089805ed refactor settrans 2012-02-06 02:17:17 -06:00
Christopher Jeffrey ca5ef3978e Merge branch 'clear_shadow' 2012-02-05 00:10:27 -06:00
Christopher Jeffrey 9b973d6e12 better focus setup, add experimental zero shadow option 2012-02-05 00:06:00 -06:00
Christopher Jeffrey 6a71094d8a dont clear shadow on small windows 2012-02-04 21:04:02 -06:00
Christopher Jeffrey a2028a02f3 better dimensions? 2012-02-01 14:37:45 -06:00
Christopher Jeffrey 73ab1244b1 different clear shadow dimensions 2012-02-01 13:57:52 -06:00
Christopher Jeffrey 75b0d38725 clear rectangle in shadow 2012-02-01 13:52:35 -06:00
Christopher Jeffrey b31a2b48a1 always update win_extents property, make frame opacity smarter 2012-01-31 16:10:30 -06:00
Christopher Jeffrey c39010197b ignore WINTYPE_UNKNOWN when determining wintype 2012-01-15 09:19:46 -06:00