aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorDmitry Antipov2012-11-23 19:39:48 +0400
committerDmitry Antipov2012-11-23 19:39:48 +0400
commitf418b22ee985bb6887c45856a1cabe2f5c726fca (patch)
tree51417635f4321a34ffb460c8266866ec87f5a94c /src/xterm.h
parente7d0e5ee247a155a268ffbf80bedbe25e15b5032 (diff)
downloademacs-f418b22ee985bb6887c45856a1cabe2f5c726fca.tar.gz
emacs-f418b22ee985bb6887c45856a1cabe2f5c726fca.zip
* frame.h (struct frame): Remove display_preempted member
since all users are dead long ago. * nsterm.h (struct x_output): Use the only dummy member. * w32menu.c (pending_menu_activation): Remove since not really used. (set_frame_menubar): Adjust user. * w32term.h (struct x_output): Drop outdated #if 0 code. (struct w32_output): Use bitfields for explicit_parent, asked_for_visible and menubar_active members. Drop unused pending_menu_activation member. * xterm.h (struct x_output): Drop outdated #if 0 code. Use bitfields for explicit_parent, asked_for_visible, has_been_visible and net_wm_state_hidden_seen members.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 6ef3d11fe48..d63ed1c4583 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -506,12 +506,6 @@ struct x_output
506 value contains an ID of the fontset, else -1. */ 506 value contains an ID of the fontset, else -1. */
507 int fontset; 507 int fontset;
508 508
509 /* Pixel values used for various purposes.
510 border_pixel may be -1 meaning use a gray tile. */
511#if 0 /* These are also defined in struct frame. Use that instead. */
512 unsigned long background_pixel;
513 unsigned long foreground_pixel;
514#endif
515 unsigned long cursor_pixel; 509 unsigned long cursor_pixel;
516 unsigned long border_pixel; 510 unsigned long border_pixel;
517 unsigned long mouse_pixel; 511 unsigned long mouse_pixel;
@@ -574,13 +568,13 @@ struct x_output
574 568
575 /* Nonzero means our parent is another application's window 569 /* Nonzero means our parent is another application's window
576 and was explicitly specified. */ 570 and was explicitly specified. */
577 char explicit_parent; 571 unsigned explicit_parent : 1;
578 572
579 /* Nonzero means tried already to make this frame visible. */ 573 /* Nonzero means tried already to make this frame visible. */
580 char asked_for_visible; 574 unsigned asked_for_visible : 1;
581 575
582 /* Nonzero if this frame was ever previously visible. */ 576 /* Nonzero if this frame was ever previously visible. */
583 char has_been_visible; 577 unsigned has_been_visible : 1;
584 578
585#ifdef HAVE_X_I18N 579#ifdef HAVE_X_I18N
586 /* Input context (currently, this means Compose key handler setup). */ 580 /* Input context (currently, this means Compose key handler setup). */
@@ -634,7 +628,7 @@ struct x_output
634 int top_before_move; 628 int top_before_move;
635 629
636 /* Non-zero if _NET_WM_STATE_HIDDEN is set for this frame. */ 630 /* Non-zero if _NET_WM_STATE_HIDDEN is set for this frame. */
637 int net_wm_state_hidden_seen; 631 unsigned net_wm_state_hidden_seen : 1;
638}; 632};
639 633
640#define No_Cursor (None) 634#define No_Cursor (None)