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

new maximise API
authormartin f. krafft <madduck@madduck.net>
Sun, 1 Mar 2009 11:48:14 +0000 (12:48 +0100)
committermartin f. krafft <madduck@madduck.net>
Sun, 1 Mar 2009 11:48:14 +0000 (12:48 +0100)
.config/awesome/rc.lua

index 85f7652a4b536d594d295312a04b48146240d5e9..dd330da01cdda51d66c60eaf5688e90da24783e7 100644 (file)
@@ -488,7 +488,8 @@ awful.hooks.manage.register(function (c, startup)
 
     -- Maximise some
     if maxapps[inst] or maxapps[cls] then
 
     -- Maximise some
     if maxapps[inst] or maxapps[cls] then
-      awful.client.maximize(c)
+        c.maximized_horizontal = not c.maximized_horizontal
+        c.maximized_vertical   = not c.maximized_vertical
     end
 end)
 
     end
 end)