diff 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
line wrap: on
line diff
--- a/src/xterm.h	Fri Jun 16 11:53:12 2006 +0000
+++ b/src/xterm.h	Fri Jun 16 12:12:27 2006 +0000
@@ -637,18 +637,14 @@
      FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
   int focus_state;
 
-  /* The latest move we made to FRAME_OUTER_WINDOW.  Saved so we can
-     compensate for type A WMs (see wm_type in dpyinfo above).  */
-  int expected_top;
-  int expected_left;
-
   /* The offset we need to add to compensate for type A WMs.  */
   int move_offset_top;
   int move_offset_left;
 
-  /* Nonzero if we have made a move and needs to check if the WM placed us
-     at the right position.  */
-  int check_expected_move;
+  /* The frame's left/top offsets before we call XMoveWindow.  See
+     x_check_expected_move.  */
+  int left_before_move;
+  int top_before_move;
 };
 
 #define No_Cursor (None)