mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1480409 - [Linux/Gtk] Don't hardcode mHasAlphaVisual to true when WenRender is used, r=jhorak
Original patch author is Sotaro Ikeda [:sotaro] <sotaro.ikeda.g@gmail.com> MozReview-Commit-ID: AVtDvWFqsxT --HG-- extra : rebase_source : be77c1a7df0036b454c8795a56a20acc785a548e
This commit is contained in:
parent
ba2daaeae2
commit
505c25cbf9
@ -3742,7 +3742,7 @@ nsWindow::Create(nsIWidget* aParent,
|
||||
gtk_widget_set_visual(mShell,
|
||||
gdk_x11_screen_lookup_visual(screen,
|
||||
visualId));
|
||||
mHasAlphaVisual = true;
|
||||
mHasAlphaVisual = needsAlphaVisual;
|
||||
} else {
|
||||
NS_WARNING("We're missing X11 Visual for WebRender!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user