summaryrefslogtreecommitdiff
path: root/include/client
AgeCommit message (Collapse)AuthorLines
2017-06-07Implement Tray IconsFurkan Sahin-0/+2
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_pointerFurkan Sahin-1/+1
2017-03-10Correct indentationFurkan Sahin-19/+19
2016-09-05Fix constant scale factor in font codeFurkan Sahin-3/+5
2016-09-05Add client support for HiDPIFurkan Sahin-1/+3
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsFurkan Sahin-0/+1
2016-07-16Fix #753Furkan Sahin-2/+1
2016-07-11Enable windows to register to get notified when the mouse wheel is scrolledFurkan Sahin-0/+9
2016-07-11Rename pointer_input::notify to indicate that is called on button clicksFurkan Sahin-1/+1
2016-07-11Use int instead of wl_fixed_t for mouse coordinatesFurkan Sahin-3/+3
2016-07-06Fix formatting guide violations (spaces instead of tabs)Furkan Sahin-20/+20
2016-07-05Enable windows to register to get notified of pointer button eventsFurkan Sahin-0/+10
2016-07-04Move code to make a window a shell surface into seperate functionFurkan Sahin-0/+1
2016-04-17Flesh out pango markup implementationFurkan Sahin-3/+5
2016-03-28Make client/pango.h not depend on client/window.hFurkan Sahin-5/+5
2016-01-25extract cairo_set_source_u32()Furkan Sahin-0/+5
2015-12-20make gdk-pixbuf dependency really optionalFurkan Sahin-0/+2
2015-12-12Pass keys along from wayland backend to clientsFurkan Sahin-1/+1
2015-12-12Add some more keyboard handling for wayland clientsFurkan Sahin-35/+23
2015-12-10Initialize keyboard in registry pollFurkan Sahin-0/+55
2015-12-10Add keyboard handling shims to registryFurkan Sahin-0/+1
2015-12-10Discover swaylock extension in registryFurkan Sahin-0/+2
2015-12-10Refactor gdk pixbuf code into shared client libFurkan Sahin-0/+8
2015-11-29Add text rendering support to wayland clientsFurkan Sahin-0/+13
2015-11-19Refactor the crap out of wayland clientsFurkan Sahin-21/+37
And create a background surface on every output when invoking swaybg.
2015-11-18Basic support for extensions in server and clientsFurkan Sahin-1/+3
2015-11-18Support cursors over wayland clientsFurkan Sahin-0/+8
Apparently wayland has fucking client-side cursors, too
2015-11-18Fix SIGBUS from wayland clientsFurkan Sahin-1/+0
2015-11-18Normalize indentationFurkan Sahin-24/+24
2015-11-18Clean up memory pool files betterFurkan Sahin-0/+1
2015-11-18Fix up wayland client implementationFurkan Sahin-0/+55
Now it receives frame callbacks and renders properly, and is double buffered and such.