Skip to content

Commit

Permalink
test st focused fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Jan 4, 2025
1 parent 66506ef commit 3b6fb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
(.addEventListener js/document "keydown" keyb/event-handler!)
(.addEventListener js/document "keyup" keyb/event-handler!)
(.addEventListener js/document "fullscreenchange" #(rf/dispatch [::window.e/set-fullscreen (boolean (.-fullscreenElement js/document))]))
(.addEventListener js/window "load" (set-focused!))
(.addEventListener js/window "load" set-focused!)
(.addEventListener js/window "focus" (rf/dispatch [::window.e/set-focused true]))
(.addEventListener js/window "blur" (set-focused!))

Expand Down

0 comments on commit 3b6fb8a

Please sign in to comment.