comparison src/window.c @ 5128:7be849cb8828 ben-lisp-object

merge
author Ben Wing <ben@xemacs.org>
date Sun, 07 Mar 2010 02:09:59 -0600
parents a9c41067dd88 0ca81354c4c7
children f965e31a35f0
comparison
equal deleted inserted replaced
5127:a9c41067dd88 5128:7be849cb8828
1802 (window)) 1802 (window))
1803 { 1803 {
1804 struct window *w = decode_window (window); 1804 struct window *w = decode_window (window);
1805 struct frame *f = XFRAME (w->frame); 1805 struct frame *f = XFRAME (w->frame);
1806 1806
1807 int left = 1807 int left = w->pixel_left - FRAME_PANED_LEFT_EDGE (f);
1808 w->pixel_left - FRAME_LEFT_BORDER_END (f) - FRAME_LEFT_GUTTER_BOUNDS (f); 1808 int top = w->pixel_top - FRAME_PANED_TOP_EDGE (f);
1809 int top =
1810 w->pixel_top - FRAME_TOP_BORDER_END (f) - FRAME_TOP_GUTTER_BOUNDS (f);
1811 1809
1812 return list4 (make_int (left), 1810 return list4 (make_int (left),
1813 make_int (top), 1811 make_int (top),
1814 make_int (left + w->pixel_width), 1812 make_int (left + w->pixel_width),
1815 make_int (top + w->pixel_height)); 1813 make_int (top + w->pixel_height));