Skip to content

Commit 507efb9

Browse files
committed
fix: [mac] title bar showing on initial fullscreen launch
The `osx_tell_dock_outside_bundle = false` feature I added to allegro recently is somewhat useful in development, but apparently problematic for normal use.
1 parent dac2fe0 commit 507efb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/allegro5.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ automatic_menu_display_resize = true
240240
# On OSX outside an app bundle, on system init allegro manually promotes the process
241241
# to a graphical application. This may be undesirable for console applications. Set
242242
# this to false to disable this behavior.
243-
osx_tell_dock_outside_bundle = false
243+
osx_tell_dock_outside_bundle = false #? mac = true

scripts/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def copy_files_to_package(base_dir: Path, files: List[Path], dest_dir: Path):
114114
continue
115115

116116
dest.parent.mkdir(parents=True, exist_ok=True)
117-
if src.parent.name == 'base_config':
117+
if src.parent.name == 'base_config' or src.name == 'allegro5.cfg':
118118
cfg_os = args.cfg_os or system_to_cfg_os(system)
119119
dest.write_text(preprocess_base_config(src.read_text(), cfg_os))
120120
else:

0 commit comments

Comments
 (0)