diff options
| author | Fred Pierresteguy | 1994-02-11 13:50:53 +0000 |
|---|---|---|
| committer | Fred Pierresteguy | 1994-02-11 13:50:53 +0000 |
| commit | 363f7e15eeafcbae48b194ccd9dc92deedf93568 (patch) | |
| tree | 9ccb91ee9028b99e8f7334c0a7ff9d985425a77b /src/widget.c | |
| parent | 9d7e2e3eeffa43255802ef8e8eed3ab53dff43bf (diff) | |
| download | emacs-363f7e15eeafcbae48b194ccd9dc92deedf93568.tar.gz emacs-363f7e15eeafcbae48b194ccd9dc92deedf93568.zip | |
*** empty log message ***
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/widget.c b/src/widget.c index ba46b247e2f..076039b0140 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -755,31 +755,6 @@ EmacsFrameResize (widget) | |||
| 755 | pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows); | 755 | pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows); |
| 756 | change_frame_size (f, rows, columns, 1, 0); | 756 | change_frame_size (f, rows, columns, 1, 0); |
| 757 | update_wm_hints (ew); | 757 | update_wm_hints (ew); |
| 758 | { | ||
| 759 | Window win, child; | ||
| 760 | int win_x, win_y; | ||
| 761 | |||
| 762 | /* Find the position of the outside upper-left corner of | ||
| 763 | the window, in the root coordinate system. Don't | ||
| 764 | refer to the parent window here; we may be processing | ||
| 765 | this event after the window manager has changed our | ||
| 766 | parent, but before we have reached the ReparentNotify. */ | ||
| 767 | XTranslateCoordinates (x_current_display, | ||
| 768 | |||
| 769 | /* From-window, to-window. */ | ||
| 770 | XtWindow(XtParent(ew)), | ||
| 771 | ROOT_WINDOW, | ||
| 772 | |||
| 773 | /* From-position, to-position. */ | ||
| 774 | -f->display.x->widget->core.border_width, | ||
| 775 | -f->display.x->widget->core.border_width, | ||
| 776 | &win_x, &win_y, | ||
| 777 | |||
| 778 | /* Child of win. */ | ||
| 779 | &child); | ||
| 780 | f->display.x->widget->core.x = win_x; | ||
| 781 | f->display.x->widget->core.y = win_y; | ||
| 782 | } | ||
| 783 | update_various_frame_slots (ew); | 758 | update_various_frame_slots (ew); |
| 784 | } | 759 | } |
| 785 | 760 | ||