Store the window caption text in the server.
Maintain a paint count separately for each window.
diff --git a/server/user.h b/server/user.h
index d53cc53..5c6c4ce 100644
--- a/server/user.h
+++ b/server/user.h
@@ -11,6 +11,7 @@
struct thread;
struct window;
+struct msg_queue;
enum user_object
{
@@ -28,6 +29,7 @@
/* queue functions */
+extern void inc_queue_paint_count( struct thread *thread, int incr );
extern void queue_cleanup_window( struct thread *thread, user_handle_t win );
/* window functions */