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

match max/tiled apps by class and instance
authormartin f. krafft <madduck@madduck.net>
Wed, 3 Sep 2008 14:39:51 +0000 (15:39 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 3 Sep 2008 14:39:51 +0000 (15:39 +0100)
.config/awesome/rc.lua

index 364655b751614bb9119bd70164693b79790db118..4aa6c640d124c78580c89b54a05500a8eeabcc70 100644 (file)
@@ -428,7 +428,7 @@ function hook_manage(c)
     end
 
     -- Override with tiledapps
-    c.floating = not tiledapps[inst]
+    c.floating = not (tiledapps[inst] or tiledapps[cls])
 
     -- Check application->screen/tag mappings.
     local target
@@ -446,7 +446,7 @@ function hook_manage(c)
     c.honorsizehints = true
 
     -- Maximise some
-    if maxapps[inst] then
+    if maxapps[inst] or maxapps[cls] then
       awful.client.maximize(c)
     end
 end