Added visual feedback for a moving window by drawing all widgets focused. This seems to be intuitive as the focus of attention is the whole window (thus all widgets).
diff --git a/contiki/ctk/ctk-conio-service.c b/contiki/ctk/ctk-conio-service.c
index 9941a97..19b112d 100644
--- a/contiki/ctk/ctk-conio-service.c
+++ b/contiki/ctk/ctk-conio-service.c
@@ -29,7 +29,7 @@
*
* This file is part of the "ctk" console GUI toolkit for cc65
*
- * $Id: ctk-conio-service.c,v 1.3 2004/09/12 17:54:12 adamdunkels Exp $
+ * $Id: ctk-conio-service.c,v 1.4 2004/12/27 22:03:04 oliverschmidt Exp $
*
*/
@@ -394,7 +394,7 @@
cputcxy(x2, y2, CH_LRCORNER);
}
- draw_window_contents(window, focus & CTK_FOCUS_WINDOW, clipy1, clipy2,
+ draw_window_contents(window, focus, clipy1, clipy2,
x1, x2, y + 1, y2);
}
/*-----------------------------------------------------------------------------------*/