mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
made drag window frontmost when drag starts
This commit is contained in:
@@ -81,8 +81,8 @@ fakeDragging(const char* str, int cursorX, int cursorY)
|
||||
NSLog ( @"newPosY: %d", newPosY);
|
||||
|
||||
[g_dragWindow setFrame:rect display:NO];
|
||||
|
||||
[g_dragWindow makeKeyAndOrderFront:nil];
|
||||
[NSApp activateIgnoringOtherApps:YES];
|
||||
|
||||
[g_dragView setFileExt:g_ext];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user