aboutsummaryrefslogtreecommitdiff
path: root/wayland
AgeCommit message (Collapse)AuthorLines
2018-03-28Remove obsolete client codeDrew DeVault-804/+0
2018-03-28Add solid-color rendering to swaybgDrew DeVault-17/+10
2017-12-01remove the rest of cmakeTony Crisci-32/+0
2017-08-03Fix typo in debug logemersion-1/+1
2017-06-14Merge branch 'master' into trayDrew DeVault-0/+1
2017-06-08include stdint to be compaitable with muslEkaterina Vaartis-0/+1
2017-06-07Implement Tray IconsCalvin Lee-0/+19
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-18add missing ! for wl seat capsZandr Martin-1/+1
2017-03-10UnGNUify the codebaseDrew DeVault-0/+2
2016-12-14minor logic errorbarfoo1-1/+1
2016-12-09Fix build on FreeBSDGreg V-0/+2
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf - Add forgotten json-c include path to swaymsg/CMakeLists.txt - Disable -Werror because of assert warnings - Add correct /proc/pid/file path for FreeBSD - Use libepoll-shim on FreeBSD - Only use Linux capabilities on, well, Linux
2016-11-28Fix memory leaks in swaybarDrew DeVault-3/+7
2016-10-07parse pango markup in workspace names (and bugfix)D.B-2/+4
This change allows using numeric character references in workspace names - for example æ which stands for sharp s. A fix was necessary in get_pango_layout, since markup and parsed markup had different width.
2016-09-08fix pango markup on swaybarZandr Martin-1/+2
2016-09-06Remove extraneous loggingDrew DeVault-1/+0
2016-09-05Fix constant scale factor in font codeDrew DeVault-6/+8
2016-09-05Add client support for HiDPIDrew DeVault-9/+27
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault-1/+4
2016-07-17Allow users to customize the cursor on clientsDrew DeVault-1/+11
This also sets the default size to 16 and documents all of the other environment variables in use in sway(1).
2016-07-16Fix warning in window.cDrew DeVault-3/+2
2016-07-16Fix #753Drew DeVault-1/+1
2016-07-15Enable windows to register to get notified when the mouse wheel is scrolledDavid Eklov-1/+20
2016-07-15Rename pointer_input::notify to indicate that is called on button clicksDavid Eklov-2/+2
2016-07-14Use int instead of wl_fixed_t for mouse coordinatesDavid Eklov-2/+2
2016-07-06Enable windows to register to get notified of pointer button eventsDavid Eklov-0/+10
2016-07-06Check capabilities before using pointer and keyboardDavid Eklov-5/+30
2016-07-04Move code to make a window a shell surface into seperate functionDavid Eklov-3/+7
2016-04-30wayland/registry.c: free() registry at registry_teardownSergi Granell-0/+1
2016-04-28Explicitly mark static linking in CMakeTomáš Čech-1/+1
When no type is given, it depends on BUILD_SHARED_LIBS value which is not desired in this case.
2016-04-28Fix missing include pathsTomáš Čech-0/+1
When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
2016-04-17Flesh out pango markup implementationDrew DeVault-6/+12
2016-04-17Add support for pango markupDrew DeVault-1/+1
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik-12/+10
2016-01-26Remove pointer from swaylock surfaceDrew DeVault-11/+15
2016-01-25extract cairo_set_source_u32()Christoph Gysin-1/+8
2015-12-20make gdk-pixbuf dependency really optionalprogandy-3/+13
2015-12-15fix segfault when doesn't have a trailing '/'Nicolas Werner-2/+2
2015-12-12Pass keys along from wayland backend to clientsDrew DeVault-1/+19
2015-12-12Fix build issueDrew DeVault-2/+2
2015-12-12Add some more keyboard handling for wayland clientsDrew DeVault-16/+31
2015-12-10Initialize keyboard in registry pollDrew DeVault-0/+73
2015-12-10Add keyboard handling shims to registryDrew DeVault-0/+38
2015-12-10Discover swaylock extension in registryDrew DeVault-0/+3
2015-12-10Refactor gdk pixbuf code into shared client libDrew DeVault-0/+108
2015-12-05Free outputs on registry teardownDrew DeVault-2/+2
2015-12-03remove archive from git, add *.a to gitignoreChristoph Gysin-0/+0
2015-12-03Add swaylock protocol, add resource destructorsDrew DeVault-0/+0
This prevents sway crashing if swaybg or swaybar dies.
2015-12-02cmake: build common code only onceChristoph Gysin-0/+17
This creates (static) libraries for protocols/, common/, and wayland/.
2015-11-29Add text rendering support to wayland clientsDrew DeVault-0/+63
2015-11-19Add wallpapers to output commandDrew DeVault-2/+0