Mikkel Oscar Lyderik
e15a8a0376
Improve how swaybars are spawned
9 years ago
Mikkel Oscar Lyderik
af7a251806
Poll before wl_display_dispatch
9 years ago
Mikkel Oscar Lyderik
e4c1176b72
Differentiate between all or no outputs
9 years ago
Mikkel Oscar Lyderik
212c6a18a2
Add outputs to bar_config ipc response
9 years ago
Mikkel Oscar Lyderik
bad4e22f3b
Make sway spawn only one bar per bar config
9 years ago
Mikkel Oscar Lyderik
6d57f03028
Make single bar handle multiple outputs
9 years ago
Mikkel Oscar Lyderik
e19e32cf81
Make protocol specifications follow the DTD
...
Gets rid of these warnings:
WARNING: XML failed validation against built-in DTD
9 years ago
Mikkel Oscar Lyderik
5e253fdd9a
Correctly exit sway on errors.
...
Calling `exit` in sway_terminate prevents sway from correctly shutting
down (freeing data, cleanly terminating the ipc server, etc.).
A better way is to exit straight away if the failure occurs before
`wlc_run` and use sway_abort as usual if it occur when wlc is running.
9 years ago
Drew DeVault
40b3215444
Merge pull request #494 from gpyh/argsegfault
...
Fix segfault when trying to use sway as IPC without a sway instance
9 years ago
Yacine Hmito
c400ca8f88
Fix for when sway_abort doesn't exit
...
sway_terminate does an exit in case wlc_terminate doesn't
9 years ago
Yacine Hmito
8db417fafe
Fixed swaymsg command name in sway(5) doc
9 years ago
Yacine Hmito
e239fbbd88
No options when using sway as IPC client
...
Sway used to attempt sending an IPC command composed of every argument
after the first non-option argument encountered.
Now, raises an error if an option is encountered before the intended command.
Some options such as -h or -v take effect when parsing, so they still
apply.
9 years ago
Yacine Hmito
179192e222
Removed p as a valid CLI option
...
The get-socketpath long option had an undocumented short alternative
as `p`. It has been removed.
However, the code in the options array is still the 'p' char.
9 years ago
Drew DeVault
28c8e4fb9e
Merge pull request #493 from mikkeloscar/view-behind-swaylock
...
Don't rearrange views behind swaylock.
9 years ago
Mikkel Oscar Lyderik
89bb6a4a42
Don't rearrange views behind swaylock.
...
Fix #481
9 years ago
Mikkel Oscar Lyderik
c9d9dd7516
Check for empty ws on view destroyed.
...
In some cases destroying a view can result in an empty and inactive
workspace, which should be destroyed.
This handles those cases.
9 years ago
Mikkel Oscar Lyderik
ee32bc3aef
Send workspace ICP event on ws destroy/empty.
...
There is no 'destroy' change type in the i3 IPC so this uses `empty` to
notify about empty workspaces (which will be destroyed from sway right
after).
9 years ago
Mikkel Oscar Lyderik
739ba902e0
Prevent crash when showing scratchpad on new ws.
...
Fix #469
9 years ago
Mikkel Oscar Lyderik
b107fc6e5a
Fix ipc event bit masks
9 years ago
Mikkel Oscar Lyderik
016a77424a
Prefer named output config over wildcard config.
...
This makes sure that a named output config is applied before the
general wildcard config when a new output is created. This ensures that
the config:
output * ...
output NAME ...
behaves the same way as:
output NAME ...
output * ...
9 years ago
Drew DeVault
91d6113d4a
Merge pull request #488 from mikkeloscar/get-pixels
...
Replace deprecated function wlc_output_get_pixels.
9 years ago
Mikkel Oscar Lyderik
6f7cbf2eac
Replace deprecated function wlc_output_get_pixels.
...
This makes IPC GET_PIXELS use the new `wlc_pixels_read` call instead of
the deprecated `wlc_output_get_pixels`.
The old version worked by passing a callback function to wlc which would
grab the pixels and send them to the IPC client.
The new version works by maintaining a list of clients who have
requested the pixels of some output and then grap and send the pixels in
the output_post_render hook of the `wlc_interface`.
9 years ago
Mikkel Oscar Lyderik
be6455b295
Squash trailing whitespace
9 years ago
Mikkel Oscar Lyderik
bacd40d6db
Fix clang warnings
9 years ago
Drew DeVault
4546ce1188
Add wlc-render.h to handlers.c
9 years ago
Mikkel Oscar Lyderik
6038bf5924
Merge pull request #486 from SethBarberee/sway-zsh
...
refactored sway command to include single dash
9 years ago
Seth Barberee
4cb30880ca
fixed config help
9 years ago
Seth Barberee
aa06ee4fbd
refactored to include single dash
9 years ago
Mikkel Oscar Lyderik
6793648f8e
use tabs
9 years ago
Mikkel Oscar Lyderik
10e50b690a
Improve _swaymsg and _swaygrab completions
9 years ago
Mikkel Oscar Lyderik
34948c7ee1
Autocomplete scale options
9 years ago
Mikkel Oscar Lyderik
25361fa67a
complete image, not color
9 years ago
Mikkel Oscar Lyderik
65a03ab502
Add files completion to _swaylock
9 years ago
Mikkel Oscar Lyderik
a64e281356
Merge pull request #483 from aouelete/zsh-swaylock-completion
...
zsh completions for swaylock
9 years ago
Aaron Ouellette
7ac0fbe8e3
zsh completions for swaylock
9 years ago
Drew DeVault
533e59f7b1
Merge pull request #482 from crondog/movemouse
...
commands: move position mouse
9 years ago
Drew DeVault
e5bb08cc18
Print /proc/<pid>/maps on segfault
9 years ago
crondog
7916eb70b9
commands: move position mouse
...
Bounds checking works ok except it overlaps the bar. Just like with
normal floating. Should be fixed once swaybar is fixed.
9 years ago
Drew DeVault
a6e57dd7ac
Merge pull request #480 from crondog/swaylocktrans2
...
swaylock: Allow for transparent color values
9 years ago
crondog
73ec01d854
swaylock: Allow for transparent color values
...
There is only a slight issue. When using a transparent color the views
are arranged to make room for swaylock which we can now see. I tried removing
the arrange call but that just made it worse by putting in an opaque view on the
workspace and not making the lockoverlay color. Ill raise an issue if
this is not easily solved
9 years ago
Drew DeVault
3a4564a367
Merge pull request #479 from crondog/font
...
font: Allow adding font to the config. In prep for border titles
9 years ago
crondog
0ee5547406
font: Allow adding font to the config. In prep for border titles
...
v2: Give default font and make bar use it if no bar font
9 years ago
Drew DeVault
baa958eaf2
Remove pointer from swaylock surface
9 years ago
Drew DeVault
f1f4791a3b
Fix returning to sway after swaylock completes
9 years ago
Mikkel Oscar Lyderik
a97b325b26
Merge pull request #478 from SethBarberee/swaymsg-zsh
...
refactored to include single dash options
9 years ago
Seth Barberee
1ce1fa3d18
refactored to include single dash options
9 years ago
Drew DeVault
f1e1ba0a56
Merge pull request #476 from christophgysin/cairo_set_source_u32
...
extract cairo_set_source_u32()
9 years ago
Christoph Gysin
a5345e807e
extract cairo_set_source_u32()
9 years ago
Drew DeVault
d2af1f3395
Merge pull request #475 from christophgysin/swaylock_color
...
swaylock: implement --color
9 years ago
Christoph Gysin
42bd8c53ee
swaylock: support --color
9 years ago