| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \ \
| |/ / / /
|/| | | | |
Implement focus_on_window_activation
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Depends on https://github.com/swaywm/wlroots/pull/1223
|
|\ \ \ \
| | | | |
| | | | | |
Check modal state when determining whether an xwayland view should float
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Depends on https://github.com/swaywm/wlroots/pull/1222.
I don't know of a program that sets the state to modal without setting
the window type, but I know the modal property works because logging the
property shows it's true for the Firefox Open File dialog.
|
|\ \ \ \
| |_|/ /
|/| | | |
Update for swaywm/wlroots#1216
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix crash when running deferred commands
|
| | |/
| |/|
| | |
| | | |
Fixes #2541
|
| |/
|/| |
|
|\ \
| | |
| | | |
Fix crash on reload
|
| | |
| | |
| | |
| | |
| | | |
This fixes a crash if you have commands where reload appears in the
middle or at the end, such as `bindsym r mode default, reload`.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If sway is reloaded using a bindsym which has multiple commands, it
failed to detect the reload command, didn't create a duplicate of the
binding and would crash because the reload command frees the bindings.
For example:
mode system {
bindsym r reload, mode default
}
In this example, the binding->command is "reload, mode default".
Fixes #2545
|
|\ \ \
| | | |
| | | | |
Implement deprecated new_window and new_float commands
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
May as well make it as easy as possible for users who are coming from
i3.
This also changes the `border` command to accept a thickness when
setting the border to normal. This makes it work the same way as the
`default_border` command. Eg. `border normal 5`
|
|\ \ \
| |/ /
|/| | |
Implement window_type criteria token
|
|/ / |
|
|\ \
| |/
|/| |
Don't send never-ending transactions when a focused layer surface commits
|
|/
|
|
|
|
|
|
|
|
|
| |
This moves the arrange_windows call into the arrange_layers function,
where we know the output actually needs to be arranged.
Additionally, we shouldn't set focus to the parent of an unknown
container type, because the parent may be an output and this causes a
crash because outputs can't have direct focus.
Fixes #2543
|
|\
| |
| | |
commands: fix exec quoting
|
| | |
|
|\ \
| |/
|/| |
Don't use bitfield to test for similar transactions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When there's multiple transactions in the queue, sway can take a
shortcut by checking if they all operate on the same set of containers.
If they do, it can skip all but the last transaction. The way we tested
for transactions which used the same containers was to exclusive-or
their con IDs together, but this has proved not only to be ineffective
but also has the potential to make sway crash.
This patch replaces the exclusive-or with a loop and container
comparison.
|
|\ \
| | |
| | | |
Fix rendering of nested tabs
|
|/ /
| |
| |
| | |
The C_CONTAINER check needs to apply to C_VIEW as well.
|
|\ \
| | |
| | | |
Fix crash when reaping a workspace
|
|/ /
| |
| |
| | |
It wasn't returning the surviving container.
|
|\ \
| |/
|/| |
Fix workspace tabs
|
|/
|
|
|
|
|
|
|
|
| |
When collecting focus to save into the transaction state, the workspace
needs to look in the tiling list only.
As seat_get_focus_inactive_tiling returns any descendant, the list also
needs to be traversed back up to the direct child of the workspace.
Fixes #2532
|
|\
| |
| | |
Fix moving container to inactive workspace on different output
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Add bulgarian readme
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
When moving a container to an inactive workspace on a different output, this will change the focus on the destination output back to its last active workspace
|
|\ \
| | |
| | | |
Prepare arrange code for type safe arguments
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* In layout command, arrange parent of parent - not sure why this is
needed but it is
* Remove gap adjustment when rendering
* Workspace should use outer gaps, not inner
* Add exceptions for tabbed and stacked containers
* Don't mess with gap state when splitting a container
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit changes the arrange code in a way that will support type
safe arguments.
The arrange_output et al functions are now public, however I opted not
to use them directly yet. I've kept the generic arrange_windows there
for convenience until type safety is fully implemented. This means this
patch has much less risk of breaking things as it would otherwise.
To be type safe, arrange_children_of cannot exist in its previous form
because the thing passed to it could be either a workspace or a
container. So it's now renamed to arrange_children and accepts a list_t,
as well as the parent layout and parent's box.
There was some code which checked the grandparent's layout to see if it
was tabbed or stacked and adjusted the Y offset of the grandchild
accordingly. Accessing the grandparent layout isn't easy when using type
safe arguments, and it seemed odd to even need to do this. I determined
that this was needed because a child of a tabbed container would have a
swayc Y matching the top of the tab bar. I've changed this so a child of
a tabbed container will have a swayc Y matching the bottom of the tab
bar, which means we don't need to access the grandparent layout. Some
tweaks to the rendering and autoconfigure code have been made to
implement this, and the container_at code appears to work without
needing any changes.
arrange_children_of (now arrange_children) would check if the parent had
gaps and would copy them to the child, effectively making the
workspace's gaps recurse into all children. We can't do this any more
without passing has_gaps, gaps_inner and gaps_outer as arguments to
arrange_children, so I've changed the add_gaps function to retrieve it
from the workspace directly.
apply_tabbed_or_stacked_layout has been split into two functions, as it
had different logic depending on the layout.
Lastly, arrange.h had an unnecessary include of transaction.h. I've
removed it, which means I've had to add it to several other files.
|
|\ \
| | |
| | | |
Stop floaters from snapping on move to new output
|
| | | |
|
|\ \ \
| | | |
| | | | |
Allow subsurfaces which overflow the container to be interacted with
|
| | | |
| | | |
| | | |
| | | | |
Fixes #2492.
|
|\ \ \ \
| | | | |
| | | | | |
Destroy empty workspaces in output_evacuate
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
seat.c: clean-up seat_set_focus_warp function
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Build fix
|
| | | | |
|
|/ / / |
|