Skip to content

Commit

Permalink
macosx: make the vout window mouse-moveable again (closes #18263)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkuehne committed Jul 1, 2017
1 parent 2d77e34 commit 03e2e63
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/gui/macosx/VLCVoutView.m
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,12 @@ - (void)releaseVoutThread

- (BOOL)mouseDownCanMoveWindow
{
return NO;
if (p_vout) {
bool b_vrnav_can_change = var_GetBool(p_vout, "viewpoint-changeable");
return !b_vrnav_can_change;
}

return YES;
}

- (BOOL)acceptsFirstResponder
Expand Down

0 comments on commit 03e2e63

Please sign in to comment.