Drew DeVault
f229dfc896
Merge pull request #1288 from johalun/master-securityconf-freebsd
...
security: enabled ipc on freebsd
2017-07-26 19:12:25 -04:00
Drew DeVault
0eded8ee7b
Merge pull request #1285 from tobiasblass/fix_non_dbus_build
...
[swaybar] fix non-dbus build
2017-07-26 19:12:21 -04:00
Drew DeVault
6c9aa2a267
Merge pull request #1283 from 4e554c4c/memory_leak
...
Fix memory leaks in swaybar tray
2017-07-18 19:15:56 -04:00
Drew DeVault
9a4558b62b
Merge pull request #1279 from 4e554c4c/bad_items
...
Fix name validation in sni_watcher.c
2017-07-18 19:15:51 -04:00
Drew DeVault
0048a3e963
Merge pull request #1276 from 4e554c4c/bad_items
...
Don't trust SNI names, fixes #1274
2017-07-18 19:15:48 -04:00
Drew DeVault
54cd2236c4
Merge pull request #1272 from ascent12/pointer-fix
...
Use WLC v2 pointer interface
2017-07-18 19:15:42 -04:00
Drew DeVault
ff1eccfabc
Merge pull request #1271 from johalun/master-securityconf-freebsd
...
Add secucity config for FreeBSD.
2017-07-11 20:08:24 -04:00
Drew DeVault
cd3da45799
Merge pull request #1270 from tobiasblass/bindsym_use_after_free
...
fix use-after-free bug
2017-07-11 20:08:19 -04:00
Drew DeVault
5882cb6882
Merge pull request #1265 from johalun/master-freebsd
...
Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer compa…
2017-07-11 20:08:14 -04:00
Drew DeVault
cf4ea4c86b
Make asciidoc (and man pages) optional
...
And remove it from the build
2017-07-11 20:08:06 -04:00
Drew DeVault
36fcb954bd
Merge pull request #1256 from lheckemann/doc-png
...
Do not fail silently when background is not PNG
2017-07-11 20:08:00 -04:00
Drew DeVault
b1b3b5be9f
Merge pull request #1259 from Hummer12007/patch-4
...
Disable -Wunused-result diagnostic
2017-07-11 20:07:53 -04:00
Drew DeVault
6c8b1dbe72
Merge pull request #1258 from refacto/fix_zsh_completion
...
Fix zsh completion for _swaylock
2017-07-11 20:07:48 -04:00
Drew DeVault
19233ee789
Merge pull request #1255 from Hummer12007/policy
...
Prevent null pointer dereferences with policy allocation failure
2017-07-11 20:07:34 -04:00
Drew DeVault
02005e3f99
Fix #1252
2017-06-29 13:26:09 -04:00
Drew DeVault
bf1ef6089b
Revert "swaybar: Group child processes for signalling"
...
This reverts commit 8f4bc0a374 .
2017-06-29 13:26:02 -04:00
Drew DeVault
cb52454945
Merge pull request #1251 from Hummer12007/icons
...
Handle getline failure in icon theme parsing
2017-06-29 13:25:54 -04:00
Drew DeVault
3f2023ea65
Merge pull request #1244 from her001/swaylock-man-corrections
...
Correct swaylock man page description of -i and -c
2017-06-22 20:22:56 -04:00
Drew DeVault
4e663ab44f
Merge pull request #1199 from SirCmpwn/server-decoration
...
Implement KDE's server-side decoration protocol
2017-06-14 19:02:15 -04:00
Drew DeVault
298f56353e
Merge branch 'master' into server-decoration
2017-06-14 18:53:40 -04:00
Drew DeVault
eb6e38c86d
Merge pull request #1234 from 4e554c4c/tray
...
Implement Tray Icons
2017-06-14 18:53:32 -04:00
Drew DeVault
0fc9628f03
Merge branch 'master' into tray
2017-06-14 18:14:22 -04:00
Drew DeVault
76fcfa1e7f
Force focus on unmanaged views during pointer test
2017-06-14 18:13:41 -04:00
Drew DeVault
d158e18308
Fix Firefox address bar thing
...
And probably some other stuff too
2017-06-14 18:09:18 -04:00
Calvin Lee
33fdae2001
Remove Xembed Support
...
Xembed support is premature in sway and should be postponed. This commit
only removes swaybar starting xembedsniproxy, if users would like, they
can still start xembedsniproxy manually, however there will be no
official support.
2017-06-13 12:42:11 -07:00
Drew DeVault
16e20ec251
Merge pull request #1236 from ykrivopalov/fix_complex_status_command
...
swaybar: Group child processes for signalling
2017-06-12 18:03:25 -04:00
Yury Krivopalov
8f4bc0a374
swaybar: Group child processes for signalling
...
Fixes child proccess killing, when status_command is a complex command
like "i3status | wrapper.sh".
Set the process group id of the child process by calling `setpgid` after
forking and before calling `exec`.
The process group ID will be set to the process ID of the forked
process. Processes spawned by this child process will also have this
group ID.
Send signals to the process group with `killpg`. This will send the
signal to all of the process group.
2017-06-12 23:12:31 +03:00
Calvin Lee
0a71aa6e97
Fix Catching NewIcon Signal
...
The unique name was not copied out of the wire marshalled DBus message
data so `sni_uniq_cmp` would always match against junk data.
2017-06-08 08:24:35 -07:00
Drew DeVault
154cc8a9c3
Merge pull request #1235 from vaartis/patch-1
...
include stdint to be compaitable with musl
2017-06-08 09:56:34 -04:00
Ekaterina Vaartis
4bf8b6b43b
include stdint to be compaitable with musl
2017-06-08 16:40:17 +03:00
Calvin Lee
1451ee8fd1
Reorganize Tray Code
...
Remove tray code from bar.c and render.c
2017-06-07 21:32:48 -07:00
Drew DeVault
790887ce76
Fix cairo blending on tray icons
2017-06-07 22:45:33 -04:00
Calvin Lee
843ad38b3c
Implement Tray Icons
...
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-07 17:49:16 -07:00
Drew DeVault
fd47a30e75
Merge pull request #1232 from johalun/master-freebsd
...
FreeBSD fixes
2017-06-06 09:34:01 -04:00
johalun
7fef283044
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).
2017-06-06 09:45:50 +02:00
Drew DeVault
5ed533a943
Revert "Drop epoll dependency"
...
This reverts commit 91f2bf81bf .
2017-05-17 13:11:49 -04:00
Drew DeVault
91f2bf81bf
Drop epoll dependency
2017-05-17 13:10:33 -04:00
Drew DeVault
6df0f9a7e4
Merge pull request #1218 from Hummer12007/suicaps
...
Terminate when both suid bit and filecaps are set
2017-05-11 12:48:30 -04:00
Mykyta Holubakha
f470fa58a3
Replace spaces with tabs in resolve_path
2017-05-11 19:38:32 +03:00
Mykyta Holubakha
93cf21fb9a
Terminate when both suid bit and filecaps are set
2017-05-11 19:33:57 +03:00
Mykyta Holubakha
f736198c31
Initialise logging earlier
2017-05-11 19:29:25 +03:00
Drew DeVault
46fbb413f2
Mention Patreon in README.md
...
Does this make me a sellout
2017-05-11 11:47:42 -04:00
Drew DeVault
ee81b1aecb
Merge pull request #1211 from wdbw/missing-send-event
...
Add missing send-event mode to sway-input(5)
2017-05-06 08:43:48 -04:00
wdbw
264a9ee9d8
Add missing send-event mode to sway-input(5)
...
Also, fix a small typo.
2017-05-06 10:45:17 +01:00
Drew DeVault
781fc604b4
Merge pull request #1209 from janza/mouse-bindings
...
Add mouse button bindings
2017-05-04 17:17:13 -04:00
Josip Janzic
400998d6d2
Add mouse button bindings
...
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
2017-05-04 23:00:03 +02:00
Drew DeVault
02d1ae7e27
Merge pull request #1206 from zandrmartin/document-font-command
...
document font command
2017-05-01 12:58:02 -04:00
Zandr Martin
51ce752ebf
document font command
2017-05-01 12:53:07 -04:00
Drew DeVault
106868ddbf
Update config.in
...
swaymsg -t get_inputs now pretty prints its output, so this warning is
obsolete
2017-04-30 22:52:19 -04:00
Drew DeVault
5e845a38f5
Merge pull request #1204 from zandrmartin/prevent-layout-auto-crash
...
prevent crash when `layout auto` is missing args
2017-04-29 14:16:20 -04:00