comparison src/xterm.h @ 71367:030275d8610f

2006-06-16 Francis Litterio <flitterio@gmail.com> * xterm.c (x_check_expected_move, handle_one_xevent) (x_set_offset, x_check_fullscreen): Extensive changes to make frame positioning deterministic under X. * xterm.h (x_output): Added members left_before_move and top_before_move. Removed members expected_left and expected_top.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 16 Jun 2006 12:12:27 +0000
parents ca93fd3c0c65
children 5f6d1ddc1872 a387c138b28e 138027c8c982
comparison
equal deleted inserted replaced
71366:1a62b8cd2100 71367:030275d8610f
635 /* Keep track of focus. May be EXPLICIT if we received a FocusIn for this 635 /* Keep track of focus. May be EXPLICIT if we received a FocusIn for this
636 frame, or IMPLICIT if we received an EnterNotify. 636 frame, or IMPLICIT if we received an EnterNotify.
637 FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */ 637 FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
638 int focus_state; 638 int focus_state;
639 639
640 /* The latest move we made to FRAME_OUTER_WINDOW. Saved so we can
641 compensate for type A WMs (see wm_type in dpyinfo above). */
642 int expected_top;
643 int expected_left;
644
645 /* The offset we need to add to compensate for type A WMs. */ 640 /* The offset we need to add to compensate for type A WMs. */
646 int move_offset_top; 641 int move_offset_top;
647 int move_offset_left; 642 int move_offset_left;
648 643
649 /* Nonzero if we have made a move and needs to check if the WM placed us 644 /* The frame's left/top offsets before we call XMoveWindow. See
650 at the right position. */ 645 x_check_expected_move. */
651 int check_expected_move; 646 int left_before_move;
647 int top_before_move;
652 }; 648 };
653 649
654 #define No_Cursor (None) 650 #define No_Cursor (None)
655 651
656 enum 652 enum