Skip to content

Commit 6fab505

Browse files
committed
Query SDL_WM_GrabInput state.
This is **before** the fix that is already in master.
1 parent 67ef377 commit 6fab505

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Menu/OptionsBaseState.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#include "OptionsConfirmState.h"
4545
#include "StartState.h"
4646

47+
#include <iostream>
48+
4749
namespace OpenXcom
4850
{
4951

@@ -227,6 +229,8 @@ void OptionsBaseState::btnOkClick(Action *)
227229
restart(_origin);
228230
}
229231
}
232+
233+
std::cout << "SDL_MOUSE_GRAB=" << SDL_WM_GrabInput(SDL_GRAB_QUERY) << std::endl;
230234
}
231235

232236
/**

0 commit comments

Comments
 (0)