diff src/xterm.h @ 52754:d08832a11cfd

* w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, that function is removed. * xterm.c (x_set_offset): Use move_offset_left/top instead of x/y_pixels_outer_diff. (x_check_expected_move): Calculate move_offset_left/top. * xterm.h (struct x_output): New members: move_offset_top/left. * frame.c (x_set_frame_parameters): x_fullscreen_move removed, call x_set_offset directly. * frame.h (enum): FULLSCREEN_MOVE_WAIT removed.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 05 Oct 2003 13:42:04 +0000
parents 751a01f97570
children 1218a42792ea
line wrap: on
line diff
--- a/src/xterm.h	Sun Oct 05 12:15:39 2003 +0000
+++ b/src/xterm.h	Sun Oct 05 13:42:04 2003 +0000
@@ -625,10 +625,14 @@
   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.  */
+     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;