Age | Commit message (Collapse) | Author |
|
|
|
|
|
Update for swaywm/wlroots#1243
|
|
|
|
|
|
|
|
"Doesn't need an update" my ass...
|
|
Remove redundant container creation in view initialisation
|
|
|
|
bar: remove i3bar_block_free in favour of i3bar_block_unref
|
|
|
|
Allow spaces in background file path
|
|
|
|
wordexp p is now initialized to {0} to prevent a segfault on wordfree
in the failure case.
File paths with single quotes and double quotes are now supported. The
quote can either be wrapped in the other quote or escaped with three
backslashes.
Additionally to make passing file paths with double quotes to swaybg
easier, instead of enclosing the path given to swaybg in quotes, all
spaces, single quotes, and double quotes in the resulting path are now
escaped with a single backslash.
|
|
|
|
|
|
Remove bad assertion in workspace_rejigger
|
|
The assertion can be (rightfully) triggered by creating layout
V[H[view view] view] and moving the top right view to the right.
After removing the assertion I found the container being moved needs its
size reset to prevent it from being sized wrongly after arranging.
|
|
i3bar: count references to blocks
|
|
This prevents blocks from being destroyed before their hotspots are destroyed,
in case it is used for a pending click event that fires between the bar
receiving a new status, which destroys the block, and the bar rendering the new
status, which destroys the hotspot; this problem can be easily produced by
scrolling on a block that immediately causes a new status to be sent, with
multiple outputs
|
|
commands: when moving a container, restore focus properly
|
|
Update textures for cmd_client_* commands
|
|
Don't use handler_context in view_unmap
|
|
Since the `client.{focused,focused_inactive,unfocused,urgent}` commands
change colors, the textures need to be updated otherwise the textures
and the rest of the title bar may utilize different colors.
|
|
Implement tiling drag
|
|
* Make container_add_sibling's `after` argument a boolean.
* Use a constant for drop layout border
* Make thickness an int
* Add button state check
* Move comments in seat_end_move_tiling
|
|
|
|
|
|
|
|
When workspace_wrap_children is called on a workspace which has a
fullscreen child and the fullscreen child is a direct child of the
workspace, sway would crash.
The workspace's fullscreen pointer is unset when the fullscreen
container is detached and applied again when added to a parent, but in
this case the parent hadn't yet been added to the workspace which meant
con->workspace was NULL.
The fix makes container_handle_fullscreen_reparent return if there's no
workspace, and the fullscreen pointer is reapplied in
workspace_wrap_children.
|
|
|
|
|
|
Hold floating_modifier and drag a tiling view to a new location.
|
|
|
|
In preparation for introducing OP_MOVE_TILING.
|
|
Give windows pointer focus immediately
|
|
|
|
|
|
|
|
Fixes #2401 (aka #2558)
Previously, when switching windows, pointer focus was not changed until the pointer was moved. This makes the pointer enter happen immediately, without the side effects of other attempted fixes.
|
|
handle_layer_shell_surface: Do not crash if seat doesn't have focus
|
|
|
|
commands: prevent running empty seat command
|
|
|
|
start adding missing ipc properties
|
|
Fix gaps in title textures and vertically center them
|
|
|
|
|
|
Added default values for all nodes, because the i3 get_tree always returns
all fields inside the json objects.
Add geometry and window for views. Window is only availabel on
x11 windows otherwise it's NULL.
Calculate percent only if parent is not empty to avoid division by 0.
|
|
|