rc.lua: Fix titlebar button events (FS#1116)
commit9d5e2a981a8e3c95c99a7af23323dfdd6bf7226f
authorUli Schlachter <psychon@znc.in>
Thu, 14 Mar 2013 19:14:43 +0000 (14 20:14 +0100)
committerUli Schlachter <psychon@znc.in>
Thu, 14 Mar 2013 19:14:43 +0000 (14 20:14 +0100)
tree7102a83abf5268b7d3f739529f110aa036c5d1aa
parentbc1507f96d83a19b01039c6914c3a4bed0f196f5
rc.lua: Fix titlebar button events (FS#1116)

Due to some layout changes, the client title widget is no longer assigned all
the remaining space. To work around this, we wrap the widget in a flex layout
which means that it asks for all the available space. This way, moving via the
titlebar works again.

Additionally, these button events are now also assigned to the client's icon
widget. No idea why this wasn't done before...

Signed-off-by: Uli Schlachter <psychon@znc.in>
awesomerc.lua.in