awesome/objects
Uli Schlachter 13364a0181 Turn globalonf.drawins into the list of visible drawins
This fixes a crash when the opacity of a not-visible drawin is changed. This
happened because we got a PropertyNotify for our own change of _NET_WM_OPACITY
and then tried to set the drawin's opacity to this new value.

However, the drawin was only reachable through globalconf.drawins and wasn't
ref'd in lua.  This means that the luaA_object_push() call in
property_handle_net_wm_opacity() didn't find the drawin and instead pushed a
nil. This then later caused an unprotected lua error in window_set_opacity().

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-28 08:29:30 +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 Remove a useless function argument 2011-03-27 20:07:14 +02:00
client.h Remove a useless function argument 2011-03-27 20:07:14 +02:00
drawin.c Turn globalonf.drawins into the list of visible drawins 2011-03-28 08:29:30 +02:00
drawin.h Drawin: Add bg_color property 2010-12-12 21:14:04 +01: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 Stop doing per-screen banning 2011-03-27 20:01:05 +02:00
tag.h fix tag header and order build 2010-05-28 13:28:25 +02:00
timer.c timer: add again method 2010-12-17 15:07:40 +01:00
timer.h fix tag header and order build 2010-05-28 13:28:25 +02:00
window.c drawin: Remove screen property 2011-03-27 16:21:49 +02:00
window.h drawin: Remove screen property 2011-03-27 16:21:49 +02:00