From a5a6195ce76d754b5f02946ec474213ac79af103 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 20 Jun 2022 06:38:30 +0200 Subject: [PATCH] comment about disabling mouse focus for virt-viewer --- .config/awesome/rc.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 70e885c..ce317dd 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -1,4 +1,5 @@ -- {{{ Imports + -- Standard awesome library local gears = require("gears") local awful = require("awful") @@ -1207,6 +1208,8 @@ client.connect_signal("mouse::enter", function(c) and awful.client.focus.filter(c) then client.focus = c end +--17 18:03 < psychon> madduck: yes. In the default config at the very end there is code that actives a client on mouse::enter. Just add if c.class == "whatever virt-viewer uses" then return end to that, or +-- something like this end) client.connect_signal("focus", function(c) -- 2.39.2