Skip to content

Commit

Permalink
wayland: don't schedule resize if going fullscreen
Browse files Browse the repository at this point in the history
mpv was resizing to the same size before it went to fullscreen, we don't need to schedule a resize because the compositor will send a configure event with the new dimensions and thats when we should do it.
  • Loading branch information
ricardomv authored and giselher committed Apr 13, 2014
1 parent 62a483f commit 586b02e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion video/out/wayland_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,6 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg)
return VO_TRUE;
case VOCTRL_FULLSCREEN:
vo_wayland_fullscreen(vo);
*events |= VO_EVENT_RESIZE;
return VO_TRUE;
case VOCTRL_ONTOP:
vo_wayland_ontop(vo);
Expand Down

0 comments on commit 586b02e

Please sign in to comment.