mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Use startup notifications in single instance mode
This commit is contained in:
4
setup.py
4
setup.py
@@ -197,6 +197,8 @@ def init_env(
|
||||
]
|
||||
if not isosx:
|
||||
ldpaths += ['-lrt']
|
||||
if '-ldl' not in ldpaths:
|
||||
ldpaths.append('-ldl')
|
||||
if '-lz' not in ldpaths:
|
||||
ldpaths.append('-lz')
|
||||
|
||||
@@ -338,7 +340,7 @@ def option_parser():
|
||||
def find_c_files():
|
||||
ans, headers = [], []
|
||||
d = os.path.join(base, 'kitty')
|
||||
exclude = {'fontconfig.c'} if isosx else {'core_text.m', 'cocoa_window.m'}
|
||||
exclude = {'fontconfig.c', 'desktop.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:
|
||||
|
||||
Reference in New Issue
Block a user