sway/include/sway
Calvin Lee 843ad38b3c Implement Tray Icons
This commit implements the StatusNotifierItem protocol, and enables
swaybar to show tray icons. It also uses `xembedsniproxy` in order to
communicate with xembed applications.
The tray is completely optional, and can be disabled on compile time
with the `enable-tray` option. Or on runtime with the bar config option
`tray_output none`.

Overview of changes:
In swaybar very little is changed outside the tray subfolder except
that all events are now polled in `event_loop.c`, this creates no
functional difference.

Six bar configuration options were added, these are detailed in
sway-bar(5)

The tray subfolder is where all protocol implementation takes place and
is organised as follows:

tray/sni_watcher.c:
	This file contains the StatusNotifierWatcher. It keeps track of
	items and hosts and reports when they come or go.
tray/tray.c
	This file contains the StatusNotifierHost. It keeps track of
	sway's version of the items and represents the tray itself.
tray/sni.c
	This file contains the StatusNotifierItem struct and all
	communication with individual items.
tray/icon.c
	This file implements the icon theme protocol. It allows for
	finding icons by name, rather than by pixmap.
tray/dbus.c
	This file allows for asynchronous DBus communication.

See #986 #343
2017-06-07 17:49:16 -07:00
..
border.h Reorganize includes 2016-09-01 08:18:37 -04:00
commands.h Implement Tray Icons 2017-06-07 17:49:16 -07:00
config.h Implement Tray Icons 2017-06-07 17:49:16 -07:00
container.h Impliment i3-style marks 2017-04-03 11:48:37 -06:00
criteria.h Implement no_focus 2017-04-26 15:29:42 -04:00
extensions.h Reorganize includes 2016-09-01 08:18:37 -04:00
focus.h changed "layout promote" command to "move first" 2017-01-01 19:53:53 +01:00
handlers.h Reorganize includes 2016-09-01 08:18:37 -04:00
input_state.h Reorganize includes 2016-09-01 08:18:37 -04:00
input.h Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-json.h Add pretty printing to swaymsg 2017-04-03 07:27:25 -04:00
ipc-server.h Reorganize includes 2016-09-01 08:18:37 -04:00
layout.h i3 feature support: Moving flotaing containers 2017-03-01 11:00:16 -07:00
output.h Add output wrapping 2017-01-13 16:06:10 -08:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
workspace.h Reorganize includes 2016-09-01 08:18:37 -04:00