fix(window-focus): preserve single-click activation

This commit is contained in:
AquaMorph committed 2026-10-30 11:20:09 -04:00
1 parent 9a3b37d5a8
commit 017bf12b43
4 files changed
+60 -17

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
-- Placement rules inferred from the running windows on this Mac.
require("hs.ipc")
local clickthrough = require("clickthrough")
local spaces = require("hs.spaces")
local log = hs.logger.new("placement", "info")
@@ -190,6 +191,7 @@ windowPlacement = {
}
windowPlacement.menu:setTitle("Windows")
windowPlacement.menu:setMenu({
{title = "Toggle single-click window activation", fn = clickthrough.toggle},
{title = "Reapply placement rules", fn = restore},
{title = "Reload configuration", fn = hs.reload},
{title = "Open Console", fn = hs.openConsole},