mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
xfns.c (x_real_positions): Fix declaration-after-statement problem.
This commit is contained in:
parent
14121c5280
commit
c00980655b
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2010-11-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xfns.c (x_real_positions): Fix declaration-after-statement
|
||||
problem.
|
||||
|
||||
2010-11-05 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* image.c (free_image): Don't garbage the frame here, since this
|
||||
|
|
|
|||
|
|
@ -645,11 +645,10 @@ x_real_positions (f, xptr, yptr)
|
|||
{
|
||||
int ign;
|
||||
Window rootw;
|
||||
long *fe = (long *)tmp_data;
|
||||
|
||||
XGetGeometry (FRAME_X_DISPLAY (f), win,
|
||||
&rootw, &real_x, &real_y, &ign, &ign, &ign, &ign);
|
||||
long *fe = (long *)tmp_data;
|
||||
|
||||
outer_x = -fe[0];
|
||||
outer_y = -fe[2];
|
||||
real_x -= fe[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue