awesome/objects
Uli Schlachter 86f3b7f11f Drawable: Ignore exposes when we have nothing to draw
The X11 server tells us about things that need to be redrawn via expose events.
When we get such an expose event before lua drew the drawable, we just fill the
exposed area with old data (which is black for newly-created drawables).

Fix this by tracking if we have any usable data in a drawable's double buffering
pixmap. This flag is unset whenever we throw away the old content (e.g. due to a
resize) and is set when lua gave us some new content to display.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-17 16:27:10 +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: Ignore exposes when we have nothing to draw 2014-03-17 16:27:10 +01:00
client.h client manage signal: Remove startup argument 2014-03-16 20:15:02 +01:00
drawable.c Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:27:10 +01:00
drawable.h Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:27:10 +01:00
drawin.c Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:27:10 +01:00
drawin.h drawable: Add pixmap member 2014-03-16 17:08:36 +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