mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-15 02:44:39 +01:00
log window flags on size change
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user