[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.c |
Date: |
Sun, 05 Oct 2003 09:42:05 -0400 |
Index: emacs/src/frame.c
diff -c emacs/src/frame.c:1.304 emacs/src/frame.c:1.305
*** emacs/src/frame.c:1.304 Sun Oct 5 08:15:39 2003
--- emacs/src/frame.c Sun Oct 5 09:42:01 2003
***************
*** 2593,2622 ****
}
- /* Really try to move where we want to be in case of fullscreen. Some WMs
- moves the window where we tell them. Some (mwm, twm) moves the outer
- window manager window there instead.
- Try to compensate for those WM here. */
-
- static void
- x_fullscreen_move (f, new_top, new_left)
- struct frame *f;
- int new_top;
- int new_left;
- {
- if (new_top != f->top_pos || new_left != f->left_pos)
- {
- int move_x = new_left;
- int move_y = new_top;
-
- #ifndef HAVE_X_WINDOWS
- f->want_fullscreen |= FULLSCREEN_MOVE_WAIT;
- #endif
-
- x_set_offset (f, move_x, move_y, 1);
- }
- }
-
/* Change the parameters of frame F as specified by ALIST.
If a parameter is not specially recognized, do nothing special;
otherwise call the `x_set_...' function for that parameter.
--- 2593,2598 ----
***************
*** 2812,2818 ****
int new_left, new_top;
x_fullscreen_adjust (f, &width, &height, &new_top, &new_left);
! x_fullscreen_move (f, new_top, new_left);
}
#endif
--- 2788,2795 ----
int new_left, new_top;
x_fullscreen_adjust (f, &width, &height, &new_top, &new_left);
! if (new_top != f->top_pos || new_left != f->left_pos)
! x_set_offset (f, new_left, new_top, 1);
}
#endif