Introduced a new parameter for ctk_draw_window() that indicates if drawing the window borders is required.
This allows to avoid unnecessary drawing of window borders on calls to ctk_window_redraw() which happen often in the web browser.
Several ctk_draw_window() implementaions don't make use of the new parameter yet.
diff --git a/contiki-gtk/ctk/ctk-gtksim-service.c b/contiki-gtk/ctk/ctk-gtksim-service.c
index cb4f793..1aa6c8c 100644
--- a/contiki-gtk/ctk/ctk-gtksim-service.c
+++ b/contiki-gtk/ctk/ctk-gtksim-service.c
@@ -136,7 +136,8 @@
s_ctk_draw_window(struct ctk_window *window,
unsigned char focus,
unsigned char clipy1,
- unsigned char clipy2)
+ unsigned char clipy2,
+ unsigned char draw_borders)
{
struct ctk_widget *w;
unsigned char wfocus;