Add a function to hide the title bar on OS X

This commit is contained in:
Kovid Goyal
2017-06-03 08:45:27 +05:30
parent 8047743882
commit 24a4fbd987
4 changed files with 43 additions and 1 deletions

View File

@@ -266,7 +266,7 @@ def option_parser():
def find_c_files():
ans, headers = [], []
d = os.path.join(base, 'kitty')
exclude = {'freetype.c', 'fontconfig.c'} if isosx else {'core_text.m'}
exclude = {'freetype.c', 'fontconfig.c'} if isosx else {'core_text.m', 'cocoa_window.m'}
for x in os.listdir(d):
ext = os.path.splitext(x)[1]
if ext in ('.c', '.m') and os.path.basename(x) not in exclude: