Skip to content

Commit

Permalink
Fixed some missing settings when using ADHD Multi Monitor mode's keyb…
Browse files Browse the repository at this point in the history
…oard toggle.
  • Loading branch information
Kaldaien committed Jan 1, 2025
1 parent 746e143 commit 899904d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
24.12.31.1
24.12.31.2
==========
+ Sped up hook installation a little bit to reduce hook races.

24.12.31.1
==========
+ Fixed the PlayStation/Xbox Button + Right Trigger to minimize game feature
so that it also hides the ADHD Multi-Monitor background window.
Expand Down
4 changes: 2 additions & 2 deletions include/SpecialK/DLL_VERSION.H
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#define SK_YEAR 24
#define SK_MONTH 12
#define SK_DATE 31
#define SK_REV_N 1
#define SK_REV 1
#define SK_REV_N 2
#define SK_REV 2

#ifndef _A2
#define _A2(a) #a
Expand Down
7 changes: 4 additions & 3 deletions src/widgets/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,9 +1076,10 @@ SK_ImGui_WidgetRegistry::DispatchKeybinds ( BOOL Control,

else if ( keybind == &config.monitors.multimonitor_focus_keybind )
{
config.display.focus_mode = !config.display.focus_mode;
config.window.background_render = true; // Required for this to work reliably
config.window.always_on_top = SmartAlwaysOnTop; // Needed to fix taskbar visibility
config.display.aspect_ratio_stretch = false;
config.display.focus_mode = !config.display.focus_mode;
config.window.background_render = true; // Required for this to work reliably
config.window.always_on_top = SmartAlwaysOnTop; // Needed to fix taskbar visibility

SK_Win32_BringBackgroundWindowToTop ();

Expand Down

0 comments on commit 899904d

Please sign in to comment.