Age | Commit message (Collapse) | Author |
|
|
|
Implement get_clipboard ipc message
|
|
Fixes #1363
|
|
Fixes #1217
|
|
Also use the recursive description to include children as well
Careful: send the event before deleting the parent
|
|
For whatever command, this probably was not intended by the user
|
|
Sometimes it doesn't really make sense to quote them (numeric values for
example)
In that case, the value is parsed until the next space or the end of the
whole criteria expression
|
|
* con_id
* floating
* tiling
|
|
Ids of children, by order of focus
|
|
Still missing: focus
|
|
Also: fix a small memory leak
|
|
`workspace_next_name` parses workspace commands to find the default
workspace names. It handled " " as a separator, which prevents the use
of workspace names with spaces.
|
|
The command parsing did not handle workspaces with spaces in their name
(like it's done in `cmd_workspace`)
|
|
Fix github links in doc
|
|
|
|
Plugs memory leaks during failure of the output command and in other
circumstances and fixes `bg` option.
Fixes #1381
|
|
All variables without a $ prefix lost their last character due to off by one error
|
|
|
|
|
|
|
|
|
|
Added client write buffer and handler for writable status on client
socket.
|
|
When killing views with `close_views` a use-after-free can sometimes
occur because parent views are killed before their children. This commit
makes `container_map` run functions on child containers before their
parent, fixing the race.
Fixes #1302
|
|
|
|
|
|
Also increase the get_clipboard timeout to 30 secs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And remove it from the build
|
|
Policy allocation failure is non-fatal
|
|
|
|
|
|
|
|
|
|
And probably some other stuff too
|
|
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
|
|
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).
|
|
|
|
|
|
Also, fix a small typo.
|
|
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
|
|
|
|
|