[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Dave Love |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Sun, 06 Oct 2002 09:29:22 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.754 emacs/src/xterm.c:1.755
*** emacs/src/xterm.c:1.754 Thu Oct 3 13:51:49 2002
--- emacs/src/xterm.c Sat Oct 5 19:36:29 2002
***************
*** 10443,10448 ****
--- 10443,10449 ----
x_real_positions (f, &x, &y);
f->output_data.x->left_pos = x;
f->output_data.x->top_pos = y;
+ goto OTHER;
}
break;
***************
*** 11173,11204 ****
f->output_data.x->win_gravity = NorthWestGravity;
x_wm_set_size_hint (f, (long) 0, 0);
}
- #ifdef USE_MOTIF
- /* Some window managers pass (0,0) as the location of
- the window, and the Motif event handler stores it
- in the emacs widget, which messes up Motif menus. */
- if (event.xconfigure.x == 0 && event.xconfigure.y == 0)
- {
- Window child;
- int count;
-
- /* We can get a ConfigureNotify because of a resize,
- so we can't just take x and y from the widget.
- Since this event may come on something else than
- the top level window, we can't use x_real_position
- either. So we get the root window x/y for 0/0 in
- the window in the event. */
- count = x_catch_errors (FRAME_X_DISPLAY (f));
- XTranslateCoordinates (FRAME_X_DISPLAY (f),
- event.xconfigure.window,
- FRAME_X_DISPLAY_INFO
(f)->root_window,
- 0, 0,
- &event.xconfigure.x,
- &event.xconfigure.y,
- &child);
- x_uncatch_errors (FRAME_X_DISPLAY (f), count);
- }
- #endif /* USE_MOTIF */
}
goto OTHER;
--- 11174,11179 ----
- [Emacs-diffs] Changes to emacs/src/xterm.c,
Dave Love <=
- [Emacs-diffs] Changes to emacs/src/xterm.c, Juanma Barranquero, 2002/10/19
- [Emacs-diffs] Changes to emacs/src/xterm.c, Kim F. Storm, 2002/10/24
- [Emacs-diffs] Changes to emacs/src/xterm.c, Kim F. Storm, 2002/10/26
- [Emacs-diffs] Changes to emacs/src/xterm.c, Dave Love, 2002/10/27
- [Emacs-diffs] Changes to emacs/src/xterm.c, Dave Love, 2002/10/28