awesome/objects
Uli Schlachter f236a5f0c7 drawin_update_drawing: Remove optimization for invisible drawins
This fixes the following code:

   local d = drawin({})
   d.visible = true

The drawin now has a cairo surface assigned

   d.visible = false
   d.width = 1234
   d.visible = true

The width change while the drawin was not visible would not get propagated to
the drawable because of the code that this patch removes. The expectation was
that drawin_map() would update the drawable later.

However, because the drawin was already visible, its drawable also already has
a surface assigned. Thus, drawin_map() wouldn't update the drawable either.

Fix this by just removing this optimizations.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-10-11 13:30:33 +02: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 Ignore enter/leave events when unmanaging a window (FS#1239) 2014-03-28 13:32:04 +01:00
client.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
drawable.c Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawable.h Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawin.c drawin_update_drawing: Remove optimization for invisible drawins 2014-10-11 13:30:33 +02: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 window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00
window.h window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00