diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-29 13:22:28 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-29 13:33:26 +0100 |
| commit | 838d75bce98ca5a1f90f762e80d2aa649d4e0642 (patch) | |
| tree | 06d661dd944d80632aa80a9f605a679779575dc5 /src/input.c | |
| parent | e51027a576a07ffb41b6e7d2bfc3aade6ae091d7 (diff) | |
Minor Fixes
Diffstat (limited to 'src/input.c')
| -rw-r--r-- | src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 8e2ee33..0cc2f78 100644 --- a/src/input.c +++ b/src/input.c @@ -458,7 +458,7 @@ enum pw_window_flags pw_input_window(struct pw_input *input) { SDL_WindowFlags flags = SDL_GetWindowFlags(input->window); if (!(flags & - (SDL_WINDOW_MINIMIZED | SDL_WINDOW_HIDDEN | SDL_WINDOW_MINIMIZED))) { + (SDL_WINDOW_OCCLUDED | SDL_WINDOW_HIDDEN | SDL_WINDOW_MINIMIZED))) { result |= PW_WINDOW_VISIBLE; } if (flags & SDL_WINDOW_INPUT_FOCUS) { |
