]> 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:

import screen selection from upstream
authormartin f. krafft <madduck@madduck.net>
Mon, 26 Sep 2016 10:06:46 +0000 (12:06 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 26 Sep 2016 10:06:46 +0000 (12:06 +0200)
.config/awesome/rc.lua

index 5e1b06aa4e033b3a70fec93dd03efd7d8785ff6c..e4dda79ceb0ce8567fe4e8d9940a0756158a0ddc 100644 (file)
@@ -539,9 +539,8 @@ awful.rules.rules = {
                      raise = true,
                      keys = clientkeys,
                      buttons = clientbuttons,
                      raise = true,
                      keys = clientkeys,
                      buttons = clientbuttons,
+                     screen = awful.screen.preferred,
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen,
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen,
-                     -- https://github.com/awesomeWM/awesome/issues/1091#issuecomment-246933520
-                     screen = function (c) return awesome.startup and c.screen or awful.screen.focused() end,
      }
     },
 
      }
     },