Drew DeVault
ef50d84be1
Render blocks the correct order
7 years ago
Drew DeVault
c507727ad2
Fix use-after-free with block hotspots
7 years ago
Drew DeVault
0cbd2a4f49
Send click events for i3bar blocks
7 years ago
Drew DeVault
333dbcbe72
Render i3bar blocks
7 years ago
Drew DeVault
ee85c91831
Demarcate i3bar JSON into individual updates
7 years ago
Drew DeVault
2a5108a278
Implement workspace switch on click
7 years ago
Drew DeVault
ae14dfc7ae
Implement scroll wheel workspace switching
7 years ago
Drew DeVault
8d1425bde9
Initialize seat pointer in swaybar
7 years ago
Drew DeVault
2a90d26ebe
Fix issues with swaybar on DRM
7 years ago
Drew DeVault
d8104db8f1
Early return from render functions if necessary
7 years ago
Drew DeVault
095ac31921
Use render_all_frames from bar_setup
7 years ago
Drew DeVault
6fe66d0e6c
Fix layer_surface_closed
7 years ago
Drew DeVault
f3fbf19312
Do some small cleanup
...
- Fix workspace events (security config isn't in use so it wasn't being
sent)
- Kill status bar process when swaybar exits
- Don't rearrange windows on every layer surface commit
7 years ago
Drew DeVault
b72825441b
Fixed laggy focused output boolean
7 years ago
Drew DeVault
da6e48520b
Tear down bar when display exits
7 years ago
Drew DeVault
0464a9910d
Clean up status line on exit
7 years ago
Drew DeVault
0d0ab7c5ce
Implement status line
...
Does not yet support i3bar json protocol
7 years ago
Drew DeVault
718502c815
Iterate over workspaces backwards
7 years ago
Drew DeVault
531c175d3e
Respect user bar height preference
...
This is an i3-gaps feature we support
7 years ago
Drew DeVault
1e8faeec02
Pixel-perfect rendering
7 years ago
Drew DeVault
37b61eff2d
Add binding mode indicator
7 years ago
Drew DeVault
86ba0fc15d
Re-render bar on IPC updates
7 years ago
Drew DeVault
3a458cd7b5
Implement workspace button rendering
7 years ago
Drew DeVault
3399ad9840
Round up workspaces on each output
7 years ago
Drew DeVault
e5e8094dc3
Only utilize the configured outputs
7 years ago
Drew DeVault
5c9ad035db
Wire up basic IPC support
7 years ago
Drew DeVault
cab1352801
Start port of swaybar to layer shell
...
This starts up the event loop and wayland display and shims out the
basic top level rendering concepts. Also includes some changes to
incorporate pango into the 1.x codebase properly.
7 years ago
Tony Crisci
d071ff08ae
remove the rest of cmake
7 years ago
Joona Romppanen
675e4b7de7
Removed trailing comma from swaybar click event json
7 years ago
Johannes Lundberg
44e72573cb
Fix include path to input-event-codes.h for FreeBSD.
7 years ago
Johannes Lundberg
5a63f0f57b
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
John Axel Eriksson
feb8bb96ee
swaybar protocol: handle button 4 and 5
...
i3 bar handles scroll events as button 4 and 5. An example use
case would be volume up/down.
7 years ago
akokshar@redhat.com
2b927685ca
styling fixes
7 years ago
akokshar@redhat.com
39df3aed82
styling fixes
7 years ago
akokshar@redhat.com
d873d09f23
style fixes
7 years ago
akokshar@redhat.com
65022e1cbf
click_events as documented at https://i3wm.org/docs/i3bar-protocol.html
7 years ago
Calvin Lee
ba6224f4e5
Prevent crash if DBus connection is NULL
...
Fixes #1307
7 years ago
Tobias Blass
8976a47f62
[swaybar] fix non-dbus build
...
Swaybar's CMakeLists.txt uses the enable-tray option directly to decide whether to build the tray. This leads to a compilation error if dbus is not installed.
This patch uses the ENABLE_TRAY variable instead, which is only true if the user enabled the tray *and* dbus is available.
7 years ago
Calvin Lee
e8f589c3dc
Fix memory leaks in swaybar tray
7 years ago
Calvin Lee
5ceb52962e
Fix name validation in sni_watcher.c
...
This commit also fixes a memory leak that occurs on failure.
7 years ago
Calvin Lee
62223e8fbb
Don't trust SNI names, fixes #1274
...
If an item doesn't have a well-formed name, it will not be added to the
tray.
7 years ago
Johannes Lundberg
6a525b23dd
Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer comparison error.
7 years ago
Drew DeVault
387eca1b29
Revert "swaybar: Group child processes for signalling"
...
This reverts commit 8f4bc0a374
.
8 years ago
Drew DeVault
5f915a9d03
Fix #1252
8 years ago
Mykyta Holubakha
ed8f56ba38
Handle getline failure in icon theme parsing
8 years ago
Drew DeVault
0fc9628f03
Merge branch 'master' into tray
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Calvin Lee
1451ee8fd1
Reorganize Tray Code
...
Remove tray code from bar.c and render.c
8 years ago