Commit 7db4ddf4 authored by Martin Rudalics's avatar Martin Rudalics

In Fposn_at_x_y do not allow internal window as argument.

* keyboard.c (Fposn_at_x_y): Do not allow internal window as
argument.
parent b1bb8011
2012-08-23 Martin Rudalics <rudalics@gmx.at>
* keyboard.c (Fposn_at_x_y): Do not allow internal window as
argument.
2012-08-23 Paul Eggert <eggert@cs.ucla.edu> 2012-08-23 Paul Eggert <eggert@cs.ucla.edu>
* atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
......
...@@ -11251,7 +11251,7 @@ The `posn-' functions access elements of such lists. */) ...@@ -11251,7 +11251,7 @@ The `posn-' functions access elements of such lists. */)
if (WINDOWP (frame_or_window)) if (WINDOWP (frame_or_window))
{ {
struct window *w = decode_valid_window (frame_or_window); struct window *w = decode_live_window (frame_or_window);
XSETINT (x, (XINT (x) XSETINT (x, (XINT (x)
+ WINDOW_LEFT_EDGE_X (w) + WINDOW_LEFT_EDGE_X (w)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment