summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-08include stdint to be compaitable with muslEkaterina Vaartis
2017-06-07Reorganize Tray CodeCalvin Lee
Remove tray code from bar.c and render.c
2017-06-07Fix cairo blending on tray iconsDrew DeVault
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-06-06Merge pull request #1232 from johalun/master-freebsdDrew DeVault
FreeBSD fixes
2017-06-06FreeBSD fixesjohalun
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
2017-05-17Revert "Drop epoll dependency"Drew DeVault
This reverts commit 91f2bf81bf89699d43083f3d3a27805ba5e395a9.
2017-05-17Drop epoll dependencyDrew DeVault
2017-05-11Merge pull request #1218 from Hummer12007/suicapsDrew DeVault
Terminate when both suid bit and filecaps are set
2017-05-11Replace spaces with tabs in resolve_pathMykyta Holubakha
2017-05-11Terminate when both suid bit and filecaps are setMykyta Holubakha
2017-05-11Initialise logging earlierMykyta Holubakha
2017-05-11Mention Patreon in README.mdDrew DeVault
Does this make me a sellout
2017-05-06Merge pull request #1211 from wdbw/missing-send-eventDrew DeVault
Add missing send-event mode to sway-input(5)
2017-05-06Add missing send-event mode to sway-input(5)wdbw
Also, fix a small typo.
2017-05-04Merge pull request #1209 from janza/mouse-bindingsDrew DeVault
Add mouse button bindings
2017-05-04Add mouse button bindingsJosip Janzic
Adds support for bindings like: bindsym button3 floating toggle bindsym $mod+button3 floating toggle
2017-05-01Merge pull request #1206 from zandrmartin/document-font-commandDrew DeVault
document font command
2017-05-01document font commandZandr Martin
2017-04-30Update config.inDrew DeVault
swaymsg -t get_inputs now pretty prints its output, so this warning is obsolete
2017-04-29Merge pull request #1204 from zandrmartin/prevent-layout-auto-crashDrew DeVault
prevent crash when `layout auto` is missing args
2017-04-29prevent crash when `layout auto` is missing argsZandr Martin
2017-04-29Add HACKING.mdDrew DeVault
2017-04-29Set child border to background if not specifiedDrew DeVault
2017-04-29Merge pull request #1201 from SirCmpwn/fix-colorsDrew DeVault
Support specifying fewer than 5 colors
2017-04-29Support specifying fewer than 5 colorsDrew DeVault
This doesn't work, I'm not sure why. The color structs definitely get changed but if you specify fewer than 5, it renders with the defaults.
2017-04-28Implement KDE's server-side decoration protocolDrew DeVault
2017-04-26Update .build.ymlDrew DeVault
2017-04-26Merge pull request #1196 from SirCmpwn/no_focusDrew DeVault
Implement no_focus
2017-04-26Fix handling of floating windowsDrew DeVault
2017-04-26Update sway(5)Drew DeVault
2017-04-26Implement no_focusDrew DeVault
Ref #2
2017-04-26Merge pull request #1194 from snoack/versionDrew DeVault
Add -DVERSION flag for release version numbers
2017-04-26Fix link to dotfiles, closes #1193Drew DeVault
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack
2017-04-24Merge pull request #1187 from 4e554c4c/masterDrew DeVault
Fix typo in sway(5)
2017-04-23Fix typo in sway(5)Calvin Lee
2017-04-20Merge pull request #1184 from JerziKaminsky/logging2Drew DeVault
More Logging Fixes
2017-04-20Merge branch 'master' into logging2Drew DeVault
2017-04-20Make sway_abort() report locationJerzi Kaminsky
2017-04-19Merge pull request #1183 from sleep-walker/masterDrew DeVault
explicitly ignore unused return value
2017-04-19explicitly ignore unused return valueTomáš Čech
fixes issue#1182
2017-04-18Merge pull request #1181 from wasamasa/bugfix-initial-scratchpad-sizeDrew DeVault
Use i3's dimensions for initial scratchpad views
2017-04-18Merge pull request #1178 from 4e554c4c/forkDrew DeVault
Prevent sway from duplicating on a failed fork
2017-04-18Use i3's dimensions for initial scratchpad viewsVasilij Schneidermann
See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197
2017-04-18Prevent sway from duplicating on a failed forkCalvin Lee
Also remove a useless `sway_log` and replace it with a pipe
2017-04-18Merge pull request #1180 from wasamasa/feature-move-to-scratchpadDrew DeVault
Feature move to scratchpad
2017-04-18Implement and document `move [to] scratchpad`Vasilij Schneidermann
2017-04-18Add .build.yml (for builds.sr.ht)Drew DeVault
2017-04-16Merge pull request #1173 from JerziKaminsky/security_resolve_symlinkDrew DeVault
FOR_REVIEW: IPC security - Allow policy targets to be symlinks