awesome/lib
Daniel Hahler 57e05cda1c awful.layout: move arrange locks
This fixes a deadlock when some arrange signal handler itself changes
a property like `border_width`:

    function border1(c)
      c.border_width = 50
    end
    client.connect_signal("property::border_width", border1)

    awful.screen.connect_for_each_screen(function(s)
      local border_for_s = function(s_)
        local clients = awful.client.visible(s_)
        for _, c in pairs(clients) do
          c.border_width = 2
        end
      end
      screen[s]:connect_signal("arrange", border_for_s)
    end)

It might be better to have some counter there instead and emit a warning
if this happens (while allowing for e.g. 3 recursions).

This would allow handlers to break out of this themselves (by not insisting to
change the property).
2018-12-27 07:54:05 +01:00
..
awful awful.layout: move arrange locks 2018-12-27 07:54:05 +01:00
beautiful Grammar correction. 2018-08-14 06:47:41 -05:00
gears Merge pull request #2182 from blueyed/doc-gtable-iterate 2018-11-12 16:40:53 +00:00
menubar menubar.utils: Remove some (basically) dead code 2018-11-07 13:23:25 +01:00
naughty dbus: fix nil notifications (#2180) 2018-10-07 16:09:12 +02:00
wibox wibox.layout.flex: Do not leave empty space behind 2018-11-05 10:13:18 +01:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00