Age | Commit message (Collapse) | Author |
|
ipc: log sending of events
|
|
Log the sending of the events in the debug log. This makes ipc server events
easier to verify.
|
|
ipc: recursive workspace containers in event
|
|
Recursively describe workspace containers in the workspace event. This is for
compatability with i3 and i3ipc libraries.
|
|
ipc: always include nodes in views
|
|
This is for i3 (and i3ipc library) compatability.
|
|
Arrange windows after swapping containers
|
|
Fixes #833
|
|
Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
|
|
When workspace_auto_back_and_forth is enabled, workspaces get switched
twice with previously mentioned command, which is not the expected
behavior.
Removes one redundant creation of previous workspace.
|
|
common: use strtoul in parse_color to avoid clamp
|
|
Some implementations of strtol may clamp the values to LONG_MAX instead of
wrapping around to negative values, so use strtoul instead to parse colors.
|
|
Simplify focus setting
|
|
Merge the main rendering paths of all containers to make focus setting a bit
simpler and easier to follow.
|
|
Use uintptr_t for ipc container id
|
|
This is for compatability with i3.
|
|
Add resize mode to the default config file
|
|
These are the default keybindings in i3.
|
|
I really didn't want to have to repeat the direction keys again for
resize mode, and this makes it easier to change all of the relevant
keybindings if you don't like the defaults (or prefer i3's).
|
|
fixed uninitialized bar.wrap_scroll
|
|
|
|
remove unmanaged nodes from get_tree
|
|
swaymsg: pretty print ipc response
|
|
|
|
|
|
|
|
bugfix: focus container on output when focused
|
|
Focus the container on the output (not the output itself) when an output is
focused.
This is intended to fix a bug where borders are not updated correctly when
switching the vt away/back to sway.
|
|
Remove dead global locked_view_focus
|
|
The value of `locked_view_focus` is always false. Remove dead code associated
with this variable to simplify things.
|
|
Implement focus handling for containers
|
|
cache floating container size when fullscreening
|
|
|
|
When a workspace is focused, update the borders of all its child containers to
be focused to indicate the workspace container is focused.
|
|
When switching back to a workspace after new window creation, it is now
necessary to descend the focus stack into the focused container of the
workspace to determine which container should get the focus. This is because
the `set_focused_container()` function no longer automatically descends into
the focus stack to find the correct view to focus.
|
|
Replace `update_view_border()` with `update_container_border()`. The latter
should handle both the case where the container is a view or if the container
has children.
|
|
The previous implementation of focus handling assumed that only views can be
focused. Containers can also be focused with a command like `focus parent` or
`focus child`.
Change `set_focused_container()` to handle the case of the given container
being a container with children and update borders accordingly.
|
|
fixes #809
|
|
document `kill` command
|
|
|
|
Update container geometry on layout switch
|
|
Deeply nested containers which had their layouts changed didn't update
their actual_geometry, this messed up their child containers. Those got
width and height of 0, which was then decreased for stacked/tabbed
containers by title height. Underflow ensued, these containers suddenly
had height 4294967273. In short, not updating actual_geometry didn't
play nicely with nested containers.
|
|
implement solid color rendering for swaybg
|
|
|
|
update handler to get pid from wlc for all views - now ok to merge
|
|
|
|
Misc border fix
|
|
|
|
When titlebar is hidden, top border of the topmost view inside
tabbed/stacked container will not be drawn. This is changed in layout.c
On the other hand, top border should be drawn sometimes, for example
when titlebar is hidden on a view that is not the topmost inside
tabbed/stacked container. This is changed in border.c
|
|
|