Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Hide the context when the window loses focus (#1741)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Sep 3, 2019
1 parent a2ad0e1 commit 42fc886
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@ public void setActiveWindow(boolean active) {
updateTitleBar();
}

if (mContextMenu != null) {
mContextMenu.hide(REMOVE_WIDGET);
}

TelemetryWrapper.activePlacementEvent(mWindowPlacement.getValue(), mActive);
updateBorder();
}
Expand Down

0 comments on commit 42fc886

Please sign in to comment.