| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | | |
The unique name was not copied out of the wire marshalled DBus message
data so `sni_uniq_cmp` would always match against junk data.
|
| | |
| | |
| | |
| | | |
Remove tray code from bar.c and render.c
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
FreeBSD fixes
|
|/ /
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| | |
This reverts commit 91f2bf81bf89699d43083f3d3a27805ba5e395a9.
|
| | |
|
|\ \
| | |
| | | |
Terminate when both suid bit and filecaps are set
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
Does this make me a sellout
|
|\ \
| | |
| | | |
Add missing send-event mode to sway-input(5)
|
|/ /
| |
| | |
Also, fix a small typo.
|
|\ \
| | |
| | | |
Add mouse button bindings
|
|/ /
| |
| |
| |
| |
| |
| | |
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
|
|\ \
| | |
| | | |
document font command
|
|/ / |
|
| |
| |
| |
| |
| | |
swaymsg -t get_inputs now pretty prints its output, so this warning is
obsolete
|
|\ \
| | |
| | | |
prevent crash when `layout auto` is missing args
|
|/ / |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Support specifying fewer than 5 colors
|
|/ /
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
|\
| |
| | |
Implement no_focus
|
| | |
|
| | |
|
|/
|
|
| |
Ref #2
|
|\
| |
| | |
Add -DVERSION flag for release version numbers
|
| | |
|
|/ |
|
|\
| |
| | |
Fix typo in sway(5)
|
|/ |
|
|\
| |
| | |
More Logging Fixes
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
explicitly ignore unused return value
|
| |/ |
|
|/
|
|
| |
fixes issue#1182
|
|\
| |
| | |
Use i3's dimensions for initial scratchpad views
|
| |
| |
| |
| | |
See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197
|
|\ \
| |/
|/| |
Prevent sway from duplicating on a failed fork
|
| |
| |
| |
| | |
Also remove a useless `sway_log` and replace it with a pipe
|
|\ \
| | |
| | | |
Feature move to scratchpad
|
|/ / |
|
|/ |
|
|\
| |
| | |
FOR_REVIEW: IPC security - Allow policy targets to be symlinks
|