diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-14 19:16:07 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-24 10:24:52 +0200 |
commit | adce88de958c505822c2381386950d18fa1d9b58 (patch) | |
tree | f7d8ee747058e3f1791b2ff45933ddb5fab8f3e7 /toolkit/modules/LightweightThemeConsumer.jsm | |
parent | 974d6ca889792c5cdfaf609f0e85d3673167bc5f (diff) | |
download | UXP-adce88de958c505822c2381386950d18fa1d9b58.tar UXP-adce88de958c505822c2381386950d18fa1d9b58.tar.gz UXP-adce88de958c505822c2381386950d18fa1d9b58.tar.lz UXP-adce88de958c505822c2381386950d18fa1d9b58.tar.xz UXP-adce88de958c505822c2381386950d18fa1d9b58.zip |
Issue #1516 - Part 1: Add a global build define to determine if the client can draw in the titlebar and update consumers of the local define
Diffstat (limited to 'toolkit/modules/LightweightThemeConsumer.jsm')
-rw-r--r-- | toolkit/modules/LightweightThemeConsumer.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/modules/LightweightThemeConsumer.jsm b/toolkit/modules/LightweightThemeConsumer.jsm index 325f711b7..4010a9ff2 100644 --- a/toolkit/modules/LightweightThemeConsumer.jsm +++ b/toolkit/modules/LightweightThemeConsumer.jsm @@ -147,7 +147,7 @@ LightweightThemeConsumer.prototype = { footer.removeAttribute("lwthemefooter"); } -#ifdef XP_MACOSX +#if defined(XP_MACOSX) && defined(MOZ_CAN_DRAW_IN_TITLEBAR) // On OS X, we extend the lightweight theme into the titlebar, which means setting // the chromemargin attribute. Some XUL applications already draw in the titlebar, // so we need to save the chromemargin value before we overwrite it with the value |