Skip to content

Commit

Permalink
swell-generic: destroy popup menus when an unknown window gets focus …
Browse files Browse the repository at this point in the history
…-- from 055d7d77
  • Loading branch information
Cockos Inc authored and justinfrankel committed Apr 14, 2017
1 parent 81d3528 commit 035934c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WDL/swell/swell-wnd-generic.cpp
Expand Up @@ -605,6 +605,7 @@ static void swell_gdkEventHandler(GdkEvent *evt, gpointer data)
if (SWELL_g_focus_oswindow == fc->window ||
swell_isOSwindowmenu(SWELL_g_focus_oswindow))
{
DestroyPopupMenus();
if (!g_focus_lost_timer) g_focus_lost_timer = SetTimer(NULL,0,200,focusLostTimer);
}
}
Expand Down

0 comments on commit 035934c

Please sign in to comment.