SaveTool: make the clickthrough hint have priority.
This commit is contained in:
parent
13d09e4aa0
commit
1ec4522baf
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ SaveTool::SaveTool(const Arguments& arguments):
|
|||
#endif
|
||||
|
||||
if(SDL_VERSION_ATLEAST(2, 0, 5)) {
|
||||
if(SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1") == SDL_TRUE) {
|
||||
if(SDL_SetHintWithPriority(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1", SDL_HINT_OVERRIDE) == SDL_TRUE) {
|
||||
Utility::Debug{} << "Clickthrough is available.";
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue