awesome/objects
Uli Schlachter c368b84817 widget layouts: Check the number of geometries
If we called the widget layout for x widgets, but the layouts returned less
geometries than this, we silently ignored the left-over widgets. If the layouts
returned more geometries, we crashed.

Fix this by verifying that the number of widgets and the number of geometries
are equal. If they are different, we use the smaller of the two.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-17 16:08:06 +02:00
..
widgets Remove named colors 2010-09-10 11:27:40 +02:00
button.c luaclass properties: Use C strings 2010-09-01 15:41:41 +02:00
button.h fix tag header and order build 2010-05-28 13:28:25 +02:00
client.c client: Stop using a_tokenize 2010-09-02 19:19:01 +02:00
client.h client: client_set_focus is static, so merge 2010-08-18 10:50:40 +02:00
image.c Remove named colors 2010-09-10 11:27:40 +02:00
image.h fix tag header and order build 2010-05-28 13:28:25 +02:00
key.c common/xutil.c: Stop using a_tokenize 2010-09-02 19:22:08 +02:00
key.h fix tag header and order build 2010-05-28 13:28:25 +02:00
tag.c luaclass properties: Use C strings 2010-09-01 15:41:41 +02:00
tag.h fix tag header and order build 2010-05-28 13:28:25 +02:00
timer.c luaclass properties: Use C strings 2010-09-01 15:41:41 +02:00
timer.h fix tag header and order build 2010-05-28 13:28:25 +02:00
wibox.c Correctly unref widget_nodes 2010-09-17 15:50:00 +02:00
wibox.h Wibox: Remove shape support 2010-08-30 10:22:50 +02:00
widget.c widget layouts: Check the number of geometries 2010-09-17 16:08:06 +02:00
widget.h Stop using gperf 2010-09-02 19:24:39 +02:00
window.c luaclass properties: Use C strings 2010-09-01 15:41:41 +02:00
window.h Turn this into a reparenting WM 2010-08-09 11:56:26 +02:00