mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 06:39:39 +00:00
Patched to disable window title bar
Have a look at ENG-367. We're applying this patch: https://github.com/Genymobile/scrcpy/issues/680
This commit is contained in:
parent
1f8ba1ca79
commit
f8e6d50b16
1 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,8 @@ screen_init_rendering(struct screen *screen, const char *window_title,
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window_flags |= SDL_WINDOW_BORDERLESS;
|
||||||
|
|
||||||
screen->window = SDL_CreateWindow(window_title, SDL_WINDOWPOS_UNDEFINED,
|
screen->window = SDL_CreateWindow(window_title, SDL_WINDOWPOS_UNDEFINED,
|
||||||
SDL_WINDOWPOS_UNDEFINED,
|
SDL_WINDOWPOS_UNDEFINED,
|
||||||
window_size.width, window_size.height,
|
window_size.width, window_size.height,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue