awesome/objects
Uli Schlachter f957764e52 drawable/drawin: Pass both lua_State and stack index around
A stack index without the corresponding lua_State pointer is useless, because it
could reference another coroutine than the main thread and thus just assuming
globalconf.L is wrong. Fix this by also passing around the corresponding
lua_State pointer.

This improves the result for the following test:

  coroutine.resume(coroutine.create(function()
      drawin({}).visible = true
  end))

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-12-06 10:46:45 +01: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 drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
client.h Clean up header includes 2014-03-30 20:07:48 +02:00
drawable.c drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01: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