awesome/objects
Uli Schlachter d76e20bbce 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:27:29 +02:00
..
button.c Clean up header includes 2014-03-30 20:07:48 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c Clean up header includes 2014-03-30 20:07:48 +02:00
client.h Clean up header includes 2014-03-30 20:07:48 +02:00
drawable.c Clean up header includes 2014-03-30 20:07:48 +02:00
drawable.h Clean up header includes 2014-03-30 20:07:48 +02:00
drawin.c drawin_update_drawing: Remove optimization for invisible drawins 2014-10-11 13:27:29 +02:00
drawin.h Clean up header includes 2014-03-30 20:07:48 +02:00
key.c Clean up header includes 2014-03-30 20:07:48 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c screen: Fix output deletion 2014-03-31 13:17:34 +02:00
screen.h Clean up header includes 2014-03-30 20:07:48 +02:00
tag.c Clean up header includes 2014-03-30 20:07:48 +02:00
tag.h Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
timer.c Clean up header includes 2014-03-30 20:07:48 +02:00
timer.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
window.c Clean up header includes 2014-03-30 20:07:48 +02:00
window.h Clean up header includes 2014-03-30 20:07:48 +02:00