sawfish r4274 - trunk/src



Author: tkorvola
Date: Sat Aug 30 17:25:45 2008
New Revision: 4274
URL: http://svn.gnome.org/viewvc/sawfish?rev=4274&view=rev

Log:
Fixed a bug caused by copy-paste programming in focus_out.

Not sure if it has any practical effect.

Modified:
   trunk/src/events.c

Modified: trunk/src/events.c
==============================================================================
--- trunk/src/events.c	(original)
+++ trunk/src/events.c	Sat Aug 30 17:25:45 2008
@@ -1080,8 +1080,8 @@
 	    }
 	}
     }
-    else if ((w = x_find_window_by_id (ev->xunmap.window)) != 0
-	     && WINDOW_IS_GONE_P (w) && ev->xunmap.window == w->saved_id)
+    else if ((w = x_find_window_by_id (ev->xfocus.window)) != 0
+	     && WINDOW_IS_GONE_P (w) && ev->xfocus.window == w->saved_id)
     {
 	/* focus-out event from a deleted window */
 	if (focus_window == w)



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