mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1134192 - Prevent the options menu from opening in fullscreen mode. r=mfinkle
This commit is contained in:
parent
e2e4a74e43
commit
0162c0ab22
@ -72,6 +72,7 @@ import org.mozilla.gecko.toolbar.AutocompleteHandler;
|
||||
import org.mozilla.gecko.toolbar.BrowserToolbar;
|
||||
import org.mozilla.gecko.toolbar.BrowserToolbar.TabEditingState;
|
||||
import org.mozilla.gecko.toolbar.ToolbarProgressView;
|
||||
import org.mozilla.gecko.util.ActivityUtils;
|
||||
import org.mozilla.gecko.util.Clipboard;
|
||||
import org.mozilla.gecko.util.EventCallback;
|
||||
import org.mozilla.gecko.util.GamepadUtils;
|
||||
@ -2885,6 +2886,10 @@ public class BrowserApp extends GeckoApp
|
||||
return;
|
||||
}
|
||||
|
||||
if (ActivityUtils.isFullScreen(this)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (areTabsShown()) {
|
||||
mTabsPanel.showMenu();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user