Report errors on screen event error
Make scrcpy fail if an important screen event (like frame update) fails.
This commit is contained in:
@@ -136,7 +136,8 @@ void
|
||||
sc_screen_set_rotation(struct sc_screen *screen, unsigned rotation);
|
||||
|
||||
// react to SDL events
|
||||
void
|
||||
// If this function returns false, scrcpy must exit with an error.
|
||||
bool
|
||||
sc_screen_handle_event(struct sc_screen *screen, SDL_Event *event);
|
||||
|
||||
// convert point from window coordinates to frame coordinates
|
||||
|
||||
Reference in New Issue
Block a user