diff --git a/mozilla/widget/src/gtk/nsLookAndFeel.cpp b/mozilla/widget/src/gtk/nsLookAndFeel.cpp index 1f467339732..0607d390b41 100644 --- a/mozilla/widget/src/gtk/nsLookAndFeel.cpp +++ b/mozilla/widget/src/gtk/nsLookAndFeel.cpp @@ -307,7 +307,7 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric) // we want XUL popups to be able to overlap the task bar. aMetric = 1; break; - case eMetric_DisplayFullWindow: + case eMetric_DragFullWindow: aMetric = 1; break; default: diff --git a/mozilla/widget/src/mac/nsLookAndFeel.cpp b/mozilla/widget/src/mac/nsLookAndFeel.cpp index e4b4a9a0c13..e8d82c932ff 100644 --- a/mozilla/widget/src/mac/nsLookAndFeel.cpp +++ b/mozilla/widget/src/mac/nsLookAndFeel.cpp @@ -352,7 +352,7 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric) // xul popups are not allowed to overlap the menubar. aMetric = 0; break; - case eMetric_DisplayFullWindow: + case eMetric_DragFullWindow: aMetric = 0; break; default: