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: