Added atom_t type for atoms to make sure we use the same type
everywhere. Handle MIN_STR_ATOM offset in the server.

diff --git a/server/trace.c b/server/trace.c
index 58861ed..094ff25 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -1382,12 +1382,12 @@
 
 static void dump_add_atom_reply( const struct add_atom_request *req )
 {
-    fprintf( stderr, " atom=%d", req->atom );
+    fprintf( stderr, " atom=%04x", req->atom );
 }
 
 static void dump_delete_atom_request( const struct delete_atom_request *req )
 {
-    fprintf( stderr, " atom=%d,", req->atom );
+    fprintf( stderr, " atom=%04x,", req->atom );
     fprintf( stderr, " local=%d", req->local );
 }
 
@@ -1400,12 +1400,12 @@
 
 static void dump_find_atom_reply( const struct find_atom_request *req )
 {
-    fprintf( stderr, " atom=%d", req->atom );
+    fprintf( stderr, " atom=%04x", req->atom );
 }
 
 static void dump_get_atom_name_request( const struct get_atom_name_request *req )
 {
-    fprintf( stderr, " atom=%d,", req->atom );
+    fprintf( stderr, " atom=%04x,", req->atom );
     fprintf( stderr, " local=%d", req->local );
 }
 
@@ -1668,7 +1668,7 @@
 {
     fprintf( stderr, " parent=%08x,", req->parent );
     fprintf( stderr, " owner=%08x,", req->owner );
-    fprintf( stderr, " atom=%08x", req->atom );
+    fprintf( stderr, " atom=%04x", req->atom );
 }
 
 static void dump_create_window_reply( const struct create_window_request *req )
@@ -1715,7 +1715,7 @@
 static void dump_get_window_children_request( const struct get_window_children_request *req )
 {
     fprintf( stderr, " parent=%08x,", req->parent );
-    fprintf( stderr, " atom=%08x,", req->atom );
+    fprintf( stderr, " atom=%04x,", req->atom );
     fprintf( stderr, " tid=%p", req->tid );
 }