diff options
| author | Richard Grenville <pyxlcy@gmail.com> | 2013-01-19 20:20:27 +0800 |
|---|---|---|
| committer | Richard Grenville <pyxlcy@gmail.com> | 2013-01-19 20:20:27 +0800 |
| commit | 32132312985e3a7f63444dcd4b54f821520a6042 (patch) | |
| tree | e00f787bf4b13ca6b4e92eec1bea392ad2296499 /twin/data/update_default_rules.cpp | |
| parent | a5dc829944175cab684e5b4488ddff409f308099 (diff) | |
| download | tdebase-32132312985e3a7f63444dcd4b54f821520a6042.tar.gz tdebase-32132312985e3a7f63444dcd4b54f821520a6042.zip | |
Feature #80: D-Bus support
- Add D-Bus support. Currently 7 methods are available: "reset" (same as
SIGUSR1), "list_win" (list the windows compton manages), "win_get"
(get a property of the window), "win_set" (set a property of the
window), "find_win" (find window based on client window / focus),
"opts_get" (get the value of a compton option), and "opts_set" (set
the value of a compton option), together with 4 signals: "win_added",
"win_destroyed", "win_mapped", "win_unmapped".
- D-Bus support depends on libdbus.
- As there are many items and my time is tight, no much tests are done.
Bugs to be expected.
- Create a new header file `common.h` that contains shared content.
- Fix some bugs in timeout handling.
- Update file headers in all source files.
- Re-enable --unredir-if-possible on multi-screen set-ups, as the user
could turn if off manually anyway.
- Check if the window is mapped in `repair_win()`.
- Add ps->track_atom_lst and its handlers, to prepare for the new
condition format.
- Known issue 1: "win_get", "win_set", "opts_get", "opts_set" support a
very limited number of targets only. New ones will be added gradually.
- Known issue 2: Accidental drop of D-Bus connection is not handled.
- Known issue 3: Introspection does not reveal all available methods,
because some methods have unpredictable prototypes. Still hesitating
about what to do...
- Known issue 4: Error handling is not finished yet. Compton does not
always reply with the correct error message (but it does print out the
correct error message, usually).
Diffstat (limited to 'twin/data/update_default_rules.cpp')
0 files changed, 0 insertions, 0 deletions
