]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

comment about disabling mouse focus for virt-viewer
authormartin f. krafft <madduck@madduck.net>
Mon, 20 Jun 2022 04:38:30 +0000 (06:38 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 20 Jun 2022 04:38:30 +0000 (06:38 +0200)
.config/awesome/rc.lua

index 70e885c6322e45135f1ee2d536144a8cc509f96c..ce317dd9296c250a25ac8e00149f8175e17dc3c5 100644 (file)
@@ -1,4 +1,5 @@
 -- {{{ Imports
 -- {{{ Imports
+
 -- Standard awesome library
 local gears = require("gears")
 local awful = require("awful")
 -- 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
         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)
 end)
 
 client.connect_signal("focus", function(c)