| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Remove container_has_child
|
|/
|
|
|
| |
In all cases you can use container_has_ancestor with the arguments
swapped, which is faster than container_has_child.
|
|\
| |
| | |
Fix memory leak in swaynag
|
|/ |
|
|\
| |
| | |
xwayland: fix unmanaged surfaces order
|
|/ |
|
|\
| |
| | |
Finish resize commands
|
| | |
|
| |
| |
| |
| |
| |
| | |
Unlike i3, this implementation allows px measurements.
Also fixes a sane size check.
|
|/ |
|
| |
|
|\
| |
| | |
Don't call swaynag_log for bg when not reading
|
|/ |
|
|\
| |
| | |
Allow a fallback color to be specified for swaybg
|
|/
|
|
|
|
| |
This allows for a color to be set when the wallpaper does not fill the
entire output. If specified, the fallback color is also used when the
image path is inaccessible.
|
|\
| |
| | |
[RFC] Fix segv when sway is terminating
|
| |\
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
These are obsolete, we don't require them anymore.
|
|\ \
| | |
| | | |
Fix focus when clicking floating decorations
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
It's not right for container_at_view to only return the swayc if a
surface was clicked.
|
|\ \
| | |
| | | |
Implement move to workspace on a floating container
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rationale: Sticky containers are always assigned to the visible
workspace.
The basic idea here is to check the destination's output (move.c:190).
But if the command was `move container to workspace x` then a workspace
might have been created for it. We could destroy the workspace in this
case, but that results in unnecessary IPC events.
To avoid this, the logic for `move container to workspace x` has been
adjusted. It now delays creating the workspace until the end, and uses
`workspace_get_initial_output` to determine and check the output before
creating it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Removes container_floating_move_to_container, instead opting to put
that logic in container_move_to
* In the seat code, focusing a floating view now updates the pending
state only and lets the next transaction carry it over to the current
state. This is required, otherwise it would crash.
* When unfullscreening a floating container, an output check is now done
to see if it should center it.
|
|/ /
| |
| |
| |
| | |
Also adjusts container_floating_translate to not change the current
properties directly.
|
|\ \
| | |
| | | |
Fix crash when running `move container to workspace back_and_forth`
|
| | |
| | |
| | |
| | |
| | |
| | | |
The back_and_forth condition is intended to be handled in the else-if
block, but this was never reached because it remained in the first
block's conditions.
|
|\ \ \
| |/ /
|/| | |
Fix infinite loop when focusing sticky containers via workspace command
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In a multi-output setup, if a sticky container is on one output and
focus is on the other output, and you run (eg) `workspace 1` to focus
the workspace containing the sticky container, an infinite loop would
occur. It would loop infinitely because it would remove the sticky
container from the workspace, add it back to the same workspace, and
then decrement the iterator variable.
The fix just wraps the loop in a workspace comparison.
|
|\ \
| | |
| | | |
Fix memory leaks in get_socketpath
|
|/ / |
|
|\ \
| | |
| | | |
Move workspace moving code out of container_move_to
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Enable borders on floating SSD xdg-shell views
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix commands: criteria, layout, move, workspace
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|