aboutsummaryrefslogtreecommitdiff
path: root/include/client
AgeCommit message (Collapse)Author
2017-06-07Implement Tray IconsCalvin Lee
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-03-18wl_poitner -> wl_pointerZandr Martin
2017-03-10Correct indentationDrew DeVault
2016-09-05Fix constant scale factor in font codeDrew DeVault
2016-09-05Add client support for HiDPIDrew DeVault
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault
2016-07-16Fix #753Drew DeVault
2016-07-15Enable windows to register to get notified when the mouse wheel is scrolledDavid Eklov
2016-07-15Rename pointer_input::notify to indicate that is called on button clicksDavid Eklov
2016-07-14Use int instead of wl_fixed_t for mouse coordinatesDavid Eklov
2016-07-06Fix formatting guide violations (spaces instead of tabs)David Eklov
2016-07-06Enable windows to register to get notified of pointer button eventsDavid Eklov
2016-07-04Move code to make a window a shell surface into seperate functionDavid Eklov
2016-04-17Flesh out pango markup implementationDrew DeVault
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik
2016-01-25extract cairo_set_source_u32()Christoph Gysin
2015-12-20make gdk-pixbuf dependency really optionalprogandy
2015-12-12Pass keys along from wayland backend to clientsDrew DeVault
2015-12-12Add some more keyboard handling for wayland clientsDrew DeVault
2015-12-10Initialize keyboard in registry pollDrew DeVault
2015-12-10Add keyboard handling shims to registryDrew DeVault
2015-12-10Discover swaylock extension in registryDrew DeVault
2015-12-10Refactor gdk pixbuf code into shared client libDrew DeVault
2015-11-29Add text rendering support to wayland clientsDrew DeVault
2015-11-19Refactor the crap out of wayland clientsDrew DeVault
And create a background surface on every output when invoking swaybg.
2015-11-18Basic support for extensions in server and clientsDrew DeVault
2015-11-18Support cursors over wayland clientsDrew DeVault
Apparently wayland has fucking client-side cursors, too
2015-11-18Fix SIGBUS from wayland clientsDrew DeVault
2015-11-18Normalize indentationDrew DeVault
2015-11-18Clean up memory pool files betterDrew DeVault
2015-11-18Fix up wayland client implementationDrew DeVault
Now it receives frame callbacks and renders properly, and is double buffered and such.