Commit 6eaebb99 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure we can move the window by clicking in its background.

Regression if I recall well.
parent c1a89c64
......@@ -70,6 +70,8 @@
[o_btn_fullscreen setState: NO];
b_fullscreen = NO;
[self setMovableByWindowBackground:YES];
[self setDelegate:self];
/* Make sure setVisible: returns NO */
......
......@@ -912,6 +912,11 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
o_embeddedwindow = [self window];
}
- (BOOL)mouseDownCanMoveWindow
{
return YES;
}
- (id)initWithFrame: (NSRect)frameRect
{
if(self = [super initWithFrame: frameRect])
......
......@@ -404,6 +404,11 @@ static void Unlock( vout_thread_t * p_vout )
return self;
}
- (BOOL)mouseDownCanMoveWindow
{
return YES;
}
- (void) reshape
{
int x, y;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment