changeset 50021:b5ec65424fcc

* xterm.c (x_detect_focus_change): Call x_any_window_to_frame instead of x_top_window_to_frame.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 04 Mar 2003 19:33:04 +0000
parents 2d1d71e9f8cd
children 426570693d99
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 04 14:43:03 2003 +0000
+++ b/src/ChangeLog	Tue Mar 04 19:33:04 2003 +0000
@@ -1,3 +1,8 @@
+2003-03-04  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xterm.c (x_detect_focus_change): Call x_any_window_to_frame
+	instead of x_top_window_to_frame.
+
 2003-03-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* xsmfns.c (smc_save_yourself_CB): Add --no-splash to options
--- a/src/xterm.c	Tue Mar 04 14:43:03 2003 +0000
+++ b/src/xterm.c	Tue Mar 04 19:33:04 2003 +0000
@@ -6463,7 +6463,7 @@
   struct frame *frame;
   int nr_events = 0;
 
-  frame = x_top_window_to_frame (dpyinfo, event->xany.window);
+  frame = x_any_window_to_frame (dpyinfo, event->xany.window);
   if (! frame) return nr_events;
 
   switch (event->type)