mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 11:35:57 +00:00
log window flags on size change
This commit is contained in:
parent
bcb3942469
commit
2b8239c047
1 changed files with 1 additions and 0 deletions
|
@ -520,6 +520,7 @@ screen_resize_to_pixel_perfect(struct screen *screen) {
|
|||
static inline bool
|
||||
is_fullscreen(const struct screen *screen) {
|
||||
uint32_t flags = SDL_GetWindowFlags(screen->window);
|
||||
LOGI("flags = 0x%x", flags);
|
||||
return !!(flags & (SDL_WINDOW_FULLSCREEN | SDL_WINDOW_FULLSCREEN_DESKTOP));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue