keep scratchpad window order consistent when hidden/visible
This commit is contained in:
parent
c09023d5bd
commit
663f30fc15
1 changed files with 2 additions and 1 deletions
|
|
@ -83,10 +83,11 @@ pub fn get_scratchpad_info() -> Value {
|
|||
.filter_map(|x| node_finder(x.clone()))
|
||||
.flatten()
|
||||
.collect();
|
||||
let scratchpad_windows: Vec<ScratchpadInfo> = scratchpad_nodes
|
||||
let mut scratchpad_windows: Vec<ScratchpadInfo> = scratchpad_nodes
|
||||
.iter()
|
||||
.map(|node| scratchpad_strip(node.clone()))
|
||||
.collect();
|
||||
scratchpad_windows.sort_by(|x,y|x.window_id.cmp(&y.window_id));
|
||||
debug!(
|
||||
"parsed scratchpad window info in {:?}",
|
||||
scratch_start.elapsed()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue