mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-19 07:19:50 +02:00
refactor(wm): add window handling sync/async enum
This commit adds a dedicated WindowHandlingBehaviour enum with Sync and Async variants, and reverts a change to the render fn in window.rs to use move_window instead of position_window if the WindowHandlingBehaviour variant is Sync.
This commit is contained in:
12
schema.json
12
schema.json
@@ -217,10 +217,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"async_window_handling": {
|
||||
"description": "Use asynchronous window handling to avoid blocking the main thread when a window is not responding (default: false)",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bar_configurations": {
|
||||
"description": "Komorebi status bar configuration files for multiple instances on different monitors",
|
||||
"type": "array",
|
||||
@@ -4619,6 +4615,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"window_handling_behaviour": {
|
||||
"description": "Which Windows API behaviour to use when manipulating windows (default: Sync)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Sync",
|
||||
"Async"
|
||||
]
|
||||
},
|
||||
"window_hiding_behaviour": {
|
||||
"description": "Which Windows signal to use when hiding windows (default: Cloak)",
|
||||
"oneOf": [
|
||||
|
||||
Reference in New Issue
Block a user