Age | Commit message (Collapse) | Author |
|
swaylock: call arrange_windows for floating change
|
|
|
|
This avoids calling swayc_active_workspace.
|
|
Correctly move focus from one output to a new one.
|
|
This patch aims to correctly handle moving focus <left|right|up|down>
between outputs.
For instance, if moving from one output to a new output at the left of
the current one, it should focus the right-most view/container on the
new output, and the opposite if moving from right to left. This should
happen regardless of the previously stored focus of the new output.
This also handles moving to a new output above or below the current one.
|
|
Display single swaybar on multiple outputs
|
|
Apart from freeing the sway_config struct, this also terminates the
swaybars spawned by sway, since they are linked by PID to the bar config
structs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets rid of these warnings:
WARNING: XML failed validation against built-in DTD
|
|
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.
|
|
Fix segfault when trying to use sway as IPC without a sway instance
|
|
sway_terminate does an exit in case wlc_terminate doesn't
|
|
|
|
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.
|
|
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.
|
|
Don't rearrange views behind swaylock.
|
|
Fix #481
|
|
In some cases destroying a view can result in an empty and inactive
workspace, which should be destroyed.
This handles those cases.
|
|
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).
|
|
Fix #469
|
|
|
|
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 * ...
|
|
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`.
|
|
|
|
|
|
|
|
refactored sway command to include single dash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zsh completions for swaylock
|
|
|
|
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.
|
|
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
|
|
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
|