Change how the screen objects are pushed/popped
commitcf8d09fd80344c66f70a2514c95406c4fa658098
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sat, 2 Aug 2008 00:43:22 +0000 (1 20:43 -0400)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sat, 2 Aug 2008 00:43:22 +0000 (1 20:43 -0400)
treeccb0ee54c376128a39b0dc8aa9458e79e820d51a
parentcba569ce843db076e57732fa2e9e8ce58d6c6747
Change how the screen objects are pushed/popped

Instead of creating a new object with duplicated data, we create an
object pointer pointing to this data. This allows us to do
pointer-equality comparison with the screen objects from the lua
callback functions. This fixes the script to jump to a canvas showing
the desired window in the display.
src/lua.c