Skip to content

Commit

Permalink
only enable GUI always on top, if we have fullscreen by default (#1351)
Browse files Browse the repository at this point in the history
We don't want the GUI to be always on top in Windowed mode also
  • Loading branch information
midwan committed Jun 11, 2024
1 parent f939067 commit 80fe1f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,7 @@ void target_default_options(struct uae_prefs* p, int type)
//p->notaskbarbutton = false;
//p->nonotificationicon = false;
p->main_alwaysontop = false;
p->gui_alwaysontop = true;
p->gui_alwaysontop = false;
//p->guikey = -1;
p->automount_removable = false;
//p->automount_drives = 0;
Expand Down Expand Up @@ -2234,6 +2234,7 @@ void target_default_options(struct uae_prefs* p, int type)
{
p->gfx_apmode[0].gfx_fullscreen = amiberry_options.default_fullscreen_mode;
p->gfx_apmode[1].gfx_fullscreen = amiberry_options.default_fullscreen_mode;
p->gui_alwaysontop = true;
}
else
{
Expand Down

0 comments on commit 80fe1f4

Please sign in to comment.