emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109759: In Fposn_at_x_y do not allow


From: martin rudalics
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109759: In Fposn_at_x_y do not allow internal window as argument.
Date: Thu, 23 Aug 2012 10:33:56 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109759
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Thu 2012-08-23 10:33:56 +0200
message:
  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.
modified:
  src/ChangeLog
  src/keyboard.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-23 08:27:08 +0000
+++ b/src/ChangeLog     2012-08-23 08:33:56 +0000
@@ -1,3 +1,8 @@
+2012-08-23  Martin Rudalics  <address@hidden>
+
+       * keyboard.c (Fposn_at_x_y): Do not allow internal window as
+       argument.
+
 2012-08-23  Paul Eggert  <address@hidden>
 
        * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.

=== modified file 'src/keyboard.c'
--- a/src/keyboard.c    2012-08-21 10:21:04 +0000
+++ b/src/keyboard.c    2012-08-23 08:33:56 +0000
@@ -11251,7 +11251,7 @@
 
   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)
                   + WINDOW_LEFT_EDGE_X (w)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]