From 0487fdb0e8cc17caad57f1abd1bfd1a403e7e627 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 16 Sep 2012 10:47:53 +0200 Subject: [PATCH] Set g_has_focus to true when MapNotify hits. --- gfx/context/xegl_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/context/xegl_ctx.c b/gfx/context/xegl_ctx.c index 05b22dcacd..d1bf239f9a 100644 --- a/gfx/context/xegl_ctx.c +++ b/gfx/context/xegl_ctx.c @@ -148,7 +148,7 @@ void gfx_ctx_check_window(bool *quit, break; case MapNotify: - g_has_focus = false; + g_has_focus = true; break; case UnmapNotify: