mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Backed out 1 changesets (bug 1423869)for causing frequent Linux chrome failure in toolkit/content/tests/chrome/test_chromemargin.xul r=backout on a CLOSED TREE
Backed out changeset 4960f30d91b2 (bug 1423869)
This commit is contained in:
parent
9cee3dc42a
commit
e15c276db2
@ -3795,9 +3795,8 @@ nsWindow::Create(nsIWidget* aParent,
|
||||
* and we listen to the Gtk+ events on mContainer.
|
||||
*/
|
||||
GtkStyleContext* style = gtk_widget_get_style_context(mShell);
|
||||
drawToContainer =
|
||||
(mIsCSDAvailable && GetCSDSupportLevel() == CSD_SUPPORT_FLAT) ||
|
||||
gtk_style_context_has_class(style, "csd");
|
||||
drawToContainer = mIsCSDAvailable ||
|
||||
gtk_style_context_has_class(style, "csd");
|
||||
#endif
|
||||
eventWidget = (drawToContainer) ? container : mShell;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user