Commit c270bd99 authored by hybrid's avatar hybrid

Missed the focus change enabling. Now the events are properly processed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1442 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 4cca69a3
......@@ -479,7 +479,7 @@ bool CIrrDeviceLinux::createWindow()
attributes.colormap = colormap;
attributes.border_pixel = 0;
attributes.event_mask = StructureNotifyMask;
attributes.event_mask = StructureNotifyMask | FocusChangeMask;
if (!CreationParams.IgnoreInput)
attributes.event_mask |= PointerMotionMask |
ButtonPressMask | KeyPressMask |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment