Commit 503c4532 authored by hybrid's avatar hybrid

Fix a wrongly placed grab.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@647 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 0a0bfc7c
...@@ -98,8 +98,8 @@ namespace irr ...@@ -98,8 +98,8 @@ namespace irr
CCursorControl(CIrrDeviceLinux* dev, bool null) CCursorControl(CIrrDeviceLinux* dev, bool null)
: Device(dev), IsVisible(true), Null(null) : Device(dev), IsVisible(true), Null(null)
{ {
#ifdef _IRR_COMPILE_WITH_X11_
Device->grab(); Device->grab();
#ifdef _IRR_COMPILE_WITH_X11_
if (!null) if (!null)
{ {
XGCValues values; XGCValues values;
......
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