discomfitor pushed a commit to branch master.
commit 646943d897de514718becadba00f0499e717674c
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Apr 23 16:26:19 2013 +0100
ignore window focus in events on iconic borders; these are guaranteed to be
wrong
---
src/bin/e_border.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 98c33f7..be5b7c2 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -5850,6 +5850,10 @@ _e_border_cb_window_focus_in(void *data __UNUSED__,
e = ev;
bd = e_border_find_by_client_window(e->win);
if (!bd) return ECORE_CALLBACK_PASS_ON;
+
+ /* block refocus attempts on iconic windows
+ * these result from iconifying a window during a grab */
+ if (bd->iconic) return ECORE_CALLBACK_RENEW;
#ifdef INOUTDEBUG_FOCUS
{
time_t t;
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr