From: martin f. krafft Date: Mon, 20 Jun 2022 04:38:30 +0000 (+0200) Subject: comment about disabling mouse focus for virt-viewer X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a5a6195ce76d754b5f02946ec474213ac79af103?hp=66743a518f57886f50c6aa0317d1d4b702fd620f comment about disabling mouse focus for virt-viewer --- 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)