Make the server know about the visible area of a window, which is the
window rect minus the caption and borders when they are handled by the
window manager.
diff --git a/server/protocol.def b/server/protocol.def
index b86d460..9602819 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1841,6 +1841,7 @@
user_handle_t handle; /* handle to the window */
@REPLY
rectangle_t window; /* window rectangle */
+ rectangle_t visible; /* visible part of the window rectangle */
rectangle_t client; /* client rectangle */
@END