aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2022-10-13 18:47:49 +0800
committerPo Lu2022-10-13 18:48:56 +0800
commite6c701c8c332e8564ffbb8cd9398c341377323ee (patch)
tree28ee2440448e5a295a0ac68a3ac0405f51c9e440 /src
parent97de273dca8d97039131f9d3f29b2820b5497805 (diff)
downloademacs-e6c701c8c332e8564ffbb8cd9398c341377323ee.tar.gz
emacs-e6c701c8c332e8564ffbb8cd9398c341377323ee.zip
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.c18
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
1425 /* The width and height of the window. */ 1425 /* The width and height of the window. */
1426 int width, height; 1426 int width, height;
1427 1427
1428 /* Whether or not the window is mapped. */
1429 bool mapped_p;
1430
1431 /* A bitmask describing events Emacs was listening for from the 1428 /* A bitmask describing events Emacs was listening for from the
1432 window before some extra events were added in 1429 window before some extra events were added in
1433 `x_dnd_compute_toplevels'. */ 1430 `x_dnd_compute_toplevels'. */
@@ -1439,9 +1436,6 @@ struct x_client_list_window
1439 /* The next window in this list. */ 1436 /* The next window in this list. */
1440 struct x_client_list_window *next; 1437 struct x_client_list_window *next;
1441 1438
1442 /* The Motif protocol style of this window, if any. */
1443 uint8_t xm_protocol_style;
1444
1445 /* The extents of the frame window in each direction. */ 1439 /* The extents of the frame window in each direction. */
1446 int frame_extents_left; 1440 int frame_extents_left;
1447 int frame_extents_right; 1441 int frame_extents_right;
@@ -1452,18 +1446,24 @@ struct x_client_list_window
1452 /* The border width of this window. */ 1446 /* The border width of this window. */
1453 int border_width; 1447 int border_width;
1454 1448
1455 /* The rectangles making up the input shape. */
1456 XRectangle *input_rects;
1457
1458 /* The number of rectangles composing the input shape. */ 1449 /* The number of rectangles composing the input shape. */
1459 int n_input_rects; 1450 int n_input_rects;
1460 1451
1452 /* The rectangles making up the input shape. */
1453 XRectangle *input_rects;
1454
1461 /* The rectangles making up the bounding shape. */ 1455 /* The rectangles making up the bounding shape. */
1462 XRectangle *bounding_rects; 1456 XRectangle *bounding_rects;
1463 1457
1464 /* The number of rectangles composing the bounding shape. */ 1458 /* The number of rectangles composing the bounding shape. */
1465 int n_bounding_rects; 1459 int n_bounding_rects;
1466#endif 1460#endif
1461
1462 /* The Motif protocol style of this window, if any. */
1463 uint8_t xm_protocol_style;
1464
1465 /* Whether or not the window is mapped. */
1466 bool mapped_p;
1467}; 1467};
1468 1468
1469/* List of all toplevels in stacking order, from top to bottom. */ 1469/* List of all toplevels in stacking order, from top to bottom. */