Commit e08532b0 authored by chili's avatar chili
Browse files

remove logging

parent a8fd13a7
......@@ -246,19 +246,16 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
kbd.ClearState();
break;
case WM_ACTIVATE:
OutputDebugString( "activeate\n" );
// confine/free cursor on window to foreground/background if cursor disabled
if( !cursorEnabled )
{
if( wParam & WA_ACTIVE )
{
OutputDebugString( "activeate => confine\n" );
ConfineCursor();
HideCursor();
}
else
{
OutputDebugString( "activeate => free\n" );
FreeCursor();
ShowCursor();
}
......@@ -349,7 +346,6 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
SetForegroundWindow( hWnd );
if( !cursorEnabled )
{
OutputDebugString( "lclick => recapture\n" );
ConfineCursor();
HideCursor();
}
......
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