aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2006-06-16 12:12:27 +0000
committerJan Djärv <[email protected]>2006-06-16 12:12:27 +0000
commitd692a3d5c580f15bc5968a034286922c1a1bf423 (patch)
tree69a256c12c72ecc834a97d2522026b47c5e25884 /src/xterm.h
parentdb600ab1dbf2f0c84e6b82bef80dec3f68326637 (diff)
2006-06-16 Francis Litterio <[email protected]>
* 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.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 797c8b30e0..10a9aaa296 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -637,18 +637,14 @@ struct x_output
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)