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

fix maximisation
authormartin f. krafft <madduck@madduck.net>
Tue, 26 Sep 2017 11:19:31 +0000 (13:19 +0200)
committermartin f. krafft <madduck@madduck.net>
Tue, 26 Sep 2017 11:19:54 +0000 (13:19 +0200)
.config/awesome/rc.lua

index 6f9eae2200d09a620611aa98e333df2d218db03c..f4f9da008458e4e74c0fca6ca2fa1a02ff04a803 100644 (file)
@@ -480,6 +480,8 @@ clientkeys = awful.util.table.join(
     awful.key({ modkey,           }, "m",
         function (c)
             c.maximized = not c.maximized
     awful.key({ modkey,           }, "m",
         function (c)
             c.maximized = not c.maximized
+            c.maximized_horizontal = false
+            c.maximized_vertical = false
             c:raise()
         end ,
         {description = "maximize", group = "client"})
             c:raise()
         end ,
         {description = "maximize", group = "client"})