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

This commit is contained in:
Matt A. Tobin 2020-04-14 19:16:07 -04:00 • committed by Roy Tam
commit c3d2282ba8
4 changed files with 19 additions and 5 deletions

View file

@ -92,9 +92,6 @@ EXTRA_PP_JS_MODULES += [
'WindowDraggingUtils.jsm',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'cocoa'):
DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3'):
DEFINES['MENUBAR_CAN_AUTOHIDE'] = 1