Skip to content

Commit

Permalink
fix(macos): windows restore at current workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Apr 22, 2024
1 parent 96a0d55 commit 70a3028
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/electron/electron/window.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@
[^js win]
(when (.isMinimized ^object win)
(.restore win))
(.focus win))
;; Ref: https://github.com/electron/electron/issues/8734
(.setVisibleOnAllWorkspaces win true)
(.focus win)
(.setVisibleOnAllWorkspaces win false))

(defn get-graph-all-windows
[graph-path] ;; graph-path == dir
Expand Down

0 comments on commit 70a3028

Please sign in to comment.