awesome/objects
Uli Schlachter 22cdd9d923 drawable: Add pixmap member
Previously, ownership of the pixmaps that we are using for double buffering was
a little weird. The pixmap belonged to the drawin/titlebar, but the
corresponding cairo surface was owned by the drawable. Clean this up by moving
the pixmap to the drawable.

This cleans up lots of ugly code and also fixes a crash: When a drawable was
garbage collected before its drawin, drawin_wipe() would crash accessing the
drawable. This was needed to make it forget about the cairo surface we gave to
it for the pixmap that is being destroyed.

By moving the pixmap to the drawable, this whole issues goes away.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-16 20:16:35 +01:00
..
button.c Renamed luaL_reg to luaL_Reg 2012-06-12 10:52:10 +02:00
button.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
client.c drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
client.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
drawable.c drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
drawable.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
drawin.c drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
drawin.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
key.c lua_objlen wrapped in luaA_rawlen 2012-06-12 11:02:57 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
tag.c Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
tag.h Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
timer.c Use glib instead of libev 2012-11-21 21:01:12 +01:00
timer.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
window.c xproperty: Don't limit property lengths 2014-03-09 20:22:44 +01:00
window.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00