Scrcpy: thankyou

Created on 2 Aug 2019  路  4Comments  路  Source: Genymobile/scrcpy

How to remove the title bar, let me know which file to edit it, thank you

question

Most helpful comment

If you apply the patch I just provided (just add the SDL_WINDOW_BORDERLESS flag), this is what you will get.

All 4 comments

diff --git a/app/src/screen.c b/app/src/screen.c
index 18d24dd..34ba467 100644
--- a/app/src/screen.c
+++ b/app/src/screen.c
@@ -152,6 +152,8 @@ screen_init_rendering(struct screen *screen, const char *window_title,
 #endif
     }

+    window_flags |= SDL_WINDOW_BORDERLESS;
+
     screen->window = SDL_CreateWindow(window_title, SDL_WINDOWPOS_UNDEFINED,
                                       SDL_WINDOWPOS_UNDEFINED,
                                       window_size.width, window_size.height,

i want after removing the border it will look like in this image, still doing as you say, thank you
sorry for using google translate

If you apply the patch I just provided (just add the SDL_WINDOW_BORDERLESS flag), this is what you will get.

If you apply the patch I just provided (just add the SDL_WINDOW_BORDERLESS flag), this is what you will get.

Thanks, I'll do it on Ubuntu

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behzadpooldar picture behzadpooldar  路  4Comments

fernandofreamunde picture fernandofreamunde  路  4Comments

fleytman picture fleytman  路  4Comments

BloodPHamtOm picture BloodPHamtOm  路  3Comments

singleNeuron picture singleNeuron  路  3Comments