| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Return an error when resizing is a no op
|
| | |
|
|\ \
| |/
|/| |
Handle shell special characters in bg file path
|
| |
| |
| |
| | |
Quotes are now stripped for all arguments and stripped before anything is unescaped
|
|/
|
|
|
|
|
|
|
|
|
| |
This changes it back so the path given to swaybg is enclosed in quotes.
Additionally, the only character that is escaped in the path stored is
double quotes now. This makes it so we don't need to keep an exhaustive
list of characters that need to be escaped.
The end user will still need to escape these characters in their config
or when passed to swaybg.
|
|\
| |
| | |
Update man pages - dynamic vars and generic blocks
|
| | |
|
|/ |
|
|\
| |
| | |
swaybar: small fixes and clean-ups
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Rename workspace_outputs to workspace_configs and fix memory leak
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we eventually implement `workspace <ws> gaps inner|outer <px>`,
we'll need to store the gaps settings for workspaces before they're
created. Rather than create a workspace_gaps struct, the approach I'm
taking is to rename workspace_outputs to workspace_configs and then add
gaps settings to that.
I've added a lookup function workspace_find_config. Note that we have a
similar thing for outputs (output_config struct and output_find_config).
Lastly, when freeing config it would create a memory leak by freeing the
list items but not the workspace or output names inside them. This has
been rectified using a free_workspace_config function.
|
|\
| |
| | |
Add support for building swaylock without PAM
|
| |
| |
| |
| |
| |
| | |
This involves setuid'ing swaylock, which then forks and drops perms on
the parent process. The child process remains root and listens on a pipe
for requests to validate passwords against /etc/shadow.
|
|\ \
| | |
| | | |
Replace getdelim to make swaybar work on FreeBSD
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit fixes a segfault in swaybar on FreeBSD that was caused by
using getdelim with EOF as delimiter on an infinite stream. The FreeBSD
implementation handles the "no more data, delimiter not found, and EOF
not reached" scenario as an error, so it can't be used to read the
output of status command. This commit replaces the getline/getdelim
calls with reading all available data from the stream in one go.
|
|\ \ \
| | | |
| | | | |
Free transaction state upon destruction by removing pointer indirection
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
Fix floating views in tabbed/stacked workspaces not getting frame events
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
view_is_visible would return false, which meant the view wouldn't
receive a frame done event. view_is_visible needs to make an exception
for floating containers.
This also moves the workspace_is_visible check to an earlier location
for performance reasons.
|
|\ \
| | |
| | | |
input config: merge left_handed option
|
|/ / |
|
|\ \
| | |
| | | |
input: enable configuring tablets with libinput
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Use _C11_SOURCE feature test macro on FreeBSD (fixes #2616)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit replaces the non-standard SOCK_NONBLOCK and SOCK_CLOEXEC
flags with two fcntl calls. This makes the file POSIX 2001 compliant,
thus it is no longer necessary to conditionally define, or use internal
(__BSD_VISIBLE) feature test macros.
|
|/ /
| |
| |
| |
| |
| | |
This will restrict the default namespace set on FreeBSD to the C11
standard (everything is visible by default), which will prevent possible
conflicts with symbols hidden behing __BSD_VISIBLE.
|
| | |
|
|\ \
| | |
| | | |
Fix race condition crash when view unmaps + maps quickly
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a view unmaps, we start a transaction to destroy the container,
then when the transaction completes we destroy the container and unset
the view's container pointer. But if the view has remapped in the
meantime, the view's container pointer will be pointing to a different
container which should not be cleared.
This adds a check to make sure the view is still pointing to the
container being destroyed before clearing the pointer. The freeing of
the title format is also removed as it is already freed when the view
destroys in view_destroy.
|
|\ \
| | |
| | | |
Add a missing null check for moving tiling containers
|
|/ / |
|
|\ \
| |/
|/| |
Fix crash when disconnecting output
|
|/
|
|
|
|
|
|
|
|
|
| |
If the output being disconnected contains views, and the views are being
relocated to another output of a different size, a transaction must
occur to reconfigure them. This means by the time
container_discover_outputs is called, the output is already disabled and
wlr_output is NULL.
I considered making it check output->wlr_output, but output->enabled
should work just as well and is more descriptive.
|
|\
| |
| | |
Implement support for input wildcard
|
|/ |
|
|\
| |
| | |
swaybg: fix increasingly smaller bg on hotplug
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
render_background_image alters the scale that cairo uses. Depending on
the image mode, resolution, and image size, this may cause the surface
to be rendered increasingly smaller. By calling cairo_save and
cairo_restore, any changes to the cairo settings by the function are
not kept as a side effect.
The surface that swaybg uses is also now cleared before rendering a frame.
This is needed to avoid artifacts on resolution or scale changes with
certain combinations of image modes, resolutions, and image sizes. This
was also part of the increasingly smaller background visual since it
made it so it was not obvious the region being rendered to was smaller
and caused an increasing number of smaller images to be appear for each
hotplug.
|
|\
| |
| | |
Fix GtkMenuBar always opening first item
|
|/
|
|
|
| |
It seems like advertising that we support touch when we don't, while
using SSD, makes GtkMenuBar misbehave. Please don't ask me why...
|
|\
| |
| | |
Remove move_out_of_tabs_stacks
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the following. Create these layouts and run move right:
(Initial layout -> expected result -> actual result)
* `H[S[unfocused focused] unfocused]` ->
`H[S[unfocused] focused unfocused]` ->
`H[H[S[unfocused] focused] unfocused]`
* `H[S[unfocused focused] V[unfocused]]` ->
`H[S[unfocused] V[unfocused focused]]` ->
`H[H[S[unfocused] focused] V[unfocused]]`
move_out_of_tabs_stacks was originally made to allow views to move out
of the tabbed/stacked container in the parallel direction, but at some
point this has started working using the regular logic.
|
|\ \
| | |
| | | |
Prevent sticky containers from jumping on workspace switch
|