macOS: Autosave log window state and make it a panel
[vlc.git] / modules / gui / macosx / VLCDebugMessageWindowController.m
index e8002cf..55752cc 100644 (file)
@@ -105,6 +105,7 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char
     [self.window setExcludedFromWindowsMenu:YES];
     [self.window setDelegate:self];
     [self.window setTitle:_NS("Messages")];
     [self.window setExcludedFromWindowsMenu:YES];
     [self.window setDelegate:self];
     [self.window setTitle:_NS("Messages")];
+    [self.window setLevel:NSModalPanelWindowLevel];
 
 #define setupButton(target, title, desc)                                              \
     [target accessibilitySetOverrideValue:title                                       \
 
 #define setupButton(target, title, desc)                                              \
     [target accessibilitySetOverrideValue:title                                       \