gri3-wm/docs
Marco Hunsicker 00ee86de79 Send IPC window events for focus and title changes
This patch fixes ticket #1168 to extend the window IPC event mechanism
to send IPC events for window focus and title changes. The newly added
window events use the same format as the already established "new"
event.

Specifically this patch:

* Moves the ipc_send_window_event() function from src/manage.c into
  src/ipc.c and adds an argument for the change property of the event
* Updates src/manage.c to use the new function signature. To ensure
  that the "new" event does not send the same event data as the
  "focus" event, setting focus now happens after the "new" event
  has been sent
* Adds IPC focus event notification to src/x.c. To workaround a problem
  during window close when accessing the window name, a function has been
  added to query whether a window is actually attached to its parent. To
  avoid obsolete focus notification, a new field has been added to keep
  track of the focus without any interference by the click handling
* Adds IPC title event notification to src/handlers.c. To avoid
  obsolete title notification, a function has been added to determine
  whether a window title has actually changed
* Updates the IPC documentation to include the new events
* Updates testcases/t/205-ipc-windows.t to include the "focus" event
  in order to ensure the correct event sequence
* Adds two new unit tests, b/testcases/t/219-ipc-window-focus.t and
  b/testcases/t/220-ipc-window-title.t to ensure proper "focus" and
 "title" events
2014-02-26 22:24:19 +01:00
..
GPN-2009-06-27 s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
NoName-2009-03-12 docs/NoName-2009-03-12: add missing screenshot 2014-01-26 16:39:09 +01:00
slides-2012-01-25 Add presentation slides from 2012-01-25 2012-01-25 21:16:21 +00:00
slides-2012-03-16 add slides from 2012-03-16 (German) 2012-06-10 18:17:02 +02:00
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
asciidoc-git.conf asciidoc git config: fix impress link, update copyright (Thanks Jens) 2014-01-23 22:24:03 +01:00
bigpicture.png Some more work on the how to hack documentation 2009-04-30 17:27:58 +02:00
bigpicture.xcf Some more work on the how to hack documentation 2009-04-30 17:27:58 +02:00
debugging docs/debugging: use a version command that will work with i3 < 4.3 2014-01-04 12:06:21 +01:00
docs.mk drop debugging-release-version from docs makefile 2012-12-11 22:46:35 +01:00
hacking-howto layout restore: create and render placeholder windows 2013-12-22 21:52:49 +01:00
i3-pod2html pod2html: remove "(testsuite)" from title, it’s also for i3-dmenu-desktop 2012-12-24 15:27:09 +01:00
i3-sync-working.dia Add docs/testsuite 2011-09-24 20:10:01 +01:00
i3-sync-working.png Add docs/testsuite 2011-09-24 20:10:01 +01:00
i3-sync.dia Add docs/testsuite 2011-09-24 20:10:01 +01:00
i3-sync.png Add docs/testsuite 2011-09-24 20:10:01 +01:00
i3bar-protocol docs/i3bar-protocol: add missing newline 2014-01-18 16:26:12 +01:00
ipc Send IPC window events for focus and title changes 2014-02-26 22:24:19 +01:00
keyboard-layer1.png docs/userguide: update keyboard-layer images, remove incomplete warning 2011-07-31 23:53:26 +02:00
keyboard-layer1.svg docs/userguide: update keyboard-layer images, remove incomplete warning 2011-07-31 23:53:26 +02:00
keyboard-layer2.png docs/userguide: update keyboard-layer images, remove incomplete warning 2011-07-31 23:53:26 +02:00
keyboard-layer2.svg Include graphic of the default keyboard layout in user’s guide 2010-03-07 21:12:59 +01:00
logo-30.png replace the refcard with an HTML version (by SardemFF7) 2012-04-12 16:04:29 +02:00
modes.png Update userguide 2009-10-23 19:53:36 +02:00
multi-monitor docs/multi-monitor: nVidia ≥ 302.17 works just fine (Thanks HedgeMage) 2013-04-06 22:49:14 +02:00
refcard.html update refcard (Thanks Moritz Bandemer) 2012-06-03 17:17:11 +02:00
refcard_style.css add missing docs/refcard_style.css to git 2012-04-13 13:38:06 +02:00
single_terminal.png userguide: Document most features 2009-06-01 14:59:25 +02:00
snapping.png userguide: Document most features 2009-06-01 14:59:25 +02:00
stacklimit.png Update userguide 2009-10-23 19:53:36 +02:00
testsuite Document fixes and workarounds for test failures. 2013-04-11 22:37:58 +02:00
tree-layout1.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
tree-layout2.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
tree-shot1.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
tree-shot2.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
tree-shot3.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
tree-shot4.png docs: add tree-*.png (for tree-migrating) 2011-01-29 18:31:09 +01:00
two_columns.png userguide: Document most features 2009-06-01 14:59:25 +02:00
two_terminals.png userguide: Document most features 2009-06-01 14:59:25 +02:00
userguide Doc update: title right click resizes floating windows 2014-02-08 20:41:16 +01:00
wsbar docs/wsbar: update (we have i3bar now, i3-wsbar is just an example) 2013-04-07 10:24:38 +02:00
wsbar.dia Add documentation for external workspace bars 2011-01-29 15:19:11 +01:00
wsbar.png Add documentation for external workspace bars 2011-01-29 15:19:11 +01:00