aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index 12ae8cef47..17952b5ca1 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2607,12 +2607,10 @@ x_fullscreen_move (f, new_top, new_left)
int move_x = new_left;
int move_y = new_top;
-#ifdef HAVE_X_WINDOWS
- move_x += FRAME_X_OUTPUT (f)->x_pixels_outer_diff;
- move_y += FRAME_X_OUTPUT (f)->y_pixels_outer_diff;
+#ifndef HAVE_X_WINDOWS
+ f->want_fullscreen |= FULLSCREEN_MOVE_WAIT;
#endif
- f->want_fullscreen |= FULLSCREEN_MOVE_WAIT;
x_set_offset (f, move_x, move_y, 1);
}
}