Update conky_window Lua table when it changes.
authorBrenden Matthews <brenden@rty.ca>
Sat, 1 Aug 2009 21:11:18 +0000 (15:11 -0600)
committerBrenden Matthews <brenden@rty.ca>
Sat, 1 Aug 2009 21:11:18 +0000 (15:11 -0600)
src/conky.c

index 5c866a9..86bdbb9 100644 (file)
@@ -7313,6 +7313,10 @@ static void main_loop(void)
                                                set_transparent_background(window.window);
 
                                                changed++;
+#ifdef HAVE_LUA
+                                               /* update lua window globals */
+                                               llua_update_window_table(text_start_x, text_start_y, text_width, text_height);
+#endif /* HAVE_LUA */
                                        }
 
                                        /* move window if it isn't in right position */