summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-02-11 13:50:53 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-02-11 13:50:53 +0000
commit363f7e15eeafcbae48b194ccd9dc92deedf93568 (patch)
tree9ccb91ee9028b99e8f7334c0a7ff9d985425a77b /src/widget.c
parent9d7e2e3eeffa43255802ef8e8eed3ab53dff43bf (diff)
downloademacs-363f7e15eeafcbae48b194ccd9dc92deedf93568.tar.gz
*** empty log message ***
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c25
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)
pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows);
change_frame_size (f, rows, columns, 1, 0);
update_wm_hints (ew);
- {
- Window win, child;
- int win_x, win_y;
-
- /* Find the position of the outside upper-left corner of
- the window, in the root coordinate system. Don't
- refer to the parent window here; we may be processing
- this event after the window manager has changed our
- parent, but before we have reached the ReparentNotify. */
- XTranslateCoordinates (x_current_display,
-
- /* From-window, to-window. */
- XtWindow(XtParent(ew)),
- ROOT_WINDOW,
-
- /* From-position, to-position. */
- -f->display.x->widget->core.border_width,
- -f->display.x->widget->core.border_width,
- &win_x, &win_y,
-
- /* Child of win. */
- &child);
- f->display.x->widget->core.x = win_x;
- f->display.x->widget->core.y = win_y;
- }
update_various_frame_slots (ew);
}