Commits

Giorgos Keramidas  committed de790ac

Reindent one more client-signal callback function

  • Participants
  • Parent commits dbc8716

Comments (0)

Files changed (2)

File .config/awesome/rc.lua

 -- {{{ Signals
 -- Signal function to execute when a new client appears.
 
-client.connect_signal("manage", function (c, startup)
-    -- Enable sloppy focus
-    c:connect_signal("mouse::enter",
-        function(c)
-            if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
-            and awful.client.focus.filter(c) then
-            client.focus = c
+client.connect_signal("manage",
+    function (c, startup)
+        -- Enable sloppy focus
+        c:connect_signal("mouse::enter",
+            function(c)
+                if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier and awful.client.focus.filter(c) then
+                    client.focus = c
+                end
+            end)
+
+        if not startup then
+            -- Put windows in a smart way, only if they does not set an initial position.
+            if not c.size_hints.user_position and not c.size_hints.program_position then
+                awful.placement.no_overlap(c)
+                awful.placement.no_offscreen(c)
+            end
         end
     end)
 
-    if not startup then
-        -- Put windows in a smart way, only if they does not set an initial position.
-        if not c.size_hints.user_position and not c.size_hints.program_position then
-            awful.placement.no_overlap(c)
-            awful.placement.no_offscreen(c)
-        end
-    end
-end)
-
 client.connect_signal("focus",
     function(c)
         c.border_color = beautiful.border_focus
+2011-11-28  Giorgos Keramidas  <keramida@ceid.upatras.gr>
+
+	* .config/awesome/rc.lua: Reindent one more client-signal
+	callback function
+
 2011-11-28  Giorgos Keramidas  <keramida@ceid.upatras.gr>
 
 	* .config/awesome/rc.lua: Add a menu item for Gnome's main