diff options
| author | Po Lu <luangruo@yahoo.com> | 2022-10-13 18:47:49 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2022-10-13 18:48:56 +0800 |
| commit | e6c701c8c332e8564ffbb8cd9398c341377323ee (patch) | |
| tree | 28ee2440448e5a295a0ac68a3ac0405f51c9e440 /src | |
| parent | 97de273dca8d97039131f9d3f29b2820b5497805 (diff) | |
Shrink client list window structure
* src/xterm.c (struct x_client_list_window): Rearrange members
for better alignment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xterm.c b/src/xterm.c index 9059ad7136e..27a66873484 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1425,9 +1425,6 @@ struct x_client_list_window /* The width and height of the window. */ int width, height; - /* Whether or not the window is mapped. */ - bool mapped_p; - /* A bitmask describing events Emacs was listening for from the window before some extra events were added in `x_dnd_compute_toplevels'. */ @@ -1439,9 +1436,6 @@ struct x_client_list_window /* The next window in this list. */ struct x_client_list_window *next; - /* The Motif protocol style of this window, if any. */ - uint8_t xm_protocol_style; - /* The extents of the frame window in each direction. */ int frame_extents_left; int frame_extents_right; @@ -1452,18 +1446,24 @@ struct x_client_list_window /* The border width of this window. */ int border_width; - /* The rectangles making up the input shape. */ - XRectangle *input_rects; - /* The number of rectangles composing the input shape. */ int n_input_rects; + /* The rectangles making up the input shape. */ + XRectangle *input_rects; + /* The rectangles making up the bounding shape. */ XRectangle *bounding_rects; /* The number of rectangles composing the bounding shape. */ int n_bounding_rects; #endif + + /* The Motif protocol style of this window, if any. */ + uint8_t xm_protocol_style; + + /* Whether or not the window is mapped. */ + bool mapped_p; }; /* List of all toplevels in stacking order, from top to bottom. */ |
