From d7dd6b1947589ffcf49843243788eb988256132d Mon Sep 17 00:00:00 2001 From: rti Date: Mon, 15 Nov 2010 10:04:52 +0100 Subject: [PATCH] Fixed: #1174 Mac - Alpha Build - Mouse Behavior --- code/nel/src/3d/driver/opengl/mac/cocoa_event_emitter.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_event_emitter.cpp b/code/nel/src/3d/driver/opengl/mac/cocoa_event_emitter.cpp index 7cec8ed9c..c6e826d04 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_event_emitter.cpp +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_event_emitter.cpp @@ -246,14 +246,6 @@ bool CCocoaEventEmitter::processMessage(NSEvent* event, CEventServer* server) mousePos.x /= (float)viewRect.size.width; mousePos.y /= (float)viewRect.size.height; - // if the mouse event was placed outside the view, don't tell NeL :) - if((mousePos.x < 0.0 || mousePos.x > 1.0 || - mousePos.y < 0.0 || mousePos.y > 1.0) && - event.type != NSKeyDown && event.type != NSKeyUp) - { - return false; - } - // convert the modifiers for nel to pass them with the events NLMISC::TKeyButton modifiers = modifierFlagsToNelKeyButton([event modifierFlags]);