Skip to content

Commit

Permalink
Bug 1816436 - Narrow down the pipMask on GTK. r=stransky,mconley
Browse files Browse the repository at this point in the history
With this patch the webrtcIndicator is no longer considered a PIP window on GTK.
This makes the webrtcIndicator *not* show a resize cursor over most of its
surface.

Differential Revision: https://phabricator.services.mozilla.com/D169783
  • Loading branch information
Pehrsons committed Feb 16, 2023
1 parent 2e22dd5 commit e821f0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpfe/appshell/nsAppShellService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,8 @@ nsresult nsAppShellService::JustCreateTopWindow(
// Linux/Gtk PIP window support. It's Chrome Toplevel window, always on top
// and without any bar.
uint32_t pipMask = nsIWebBrowserChrome::CHROME_ALWAYS_ON_TOP |
nsIWebBrowserChrome::CHROME_OPENAS_CHROME;
nsIWebBrowserChrome::CHROME_OPENAS_CHROME |
nsIWebBrowserChrome::CHROME_WINDOW_RESIZE;
uint32_t barMask = nsIWebBrowserChrome::CHROME_MENUBAR |
nsIWebBrowserChrome::CHROME_TOOLBAR |
nsIWebBrowserChrome::CHROME_LOCATIONBAR |
Expand Down

0 comments on commit e821f0c

Please sign in to comment.