Set g_has_focus to true when MapNotify hits.

This commit is contained in:
Themaister 2012-09-16 10:47:53 +02:00
parent 79a75a43db
commit 0487fdb0e8

View File

@ -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: