mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 01:28:39 +02:00
fix(wm): add bounds checking in move cmd
This commit ensures that when there is only one container on the target workspace in a cross-monitor move, meaning that there won't be one swapped back, we only decrement the focused container index on the origin workspace if there is a focused container at an index greater than 0. fix #209
This commit is contained in:
@@ -678,4 +678,4 @@ again.
|
||||
A [JSON Schema](https://json-schema.org/) of socket messages used to send instructions to `komorebi` can be generated
|
||||
with the `komorebic socket-schema` command. The output of this command can be redirected to the clipboard or a file,
|
||||
which can be used with services such as [Quicktype](https://app.quicktype.io/) to generate type definitions in different
|
||||
programming languages.
|
||||
programming languages.
|
||||
|
||||
Reference in New Issue
Block a user