sws window padding is configurable

This commit is contained in:
Valentin Radu
2021-12-10 00:03:12 +02:00
parent 9c0d4edfe5
commit 19834620e6
3 changed files with 23 additions and 1 deletions
+9
View File
@@ -3434,6 +3434,15 @@ void sws_ReadSettings(sws_WindowSwitcher* sws)
&(sws->bNoPerApplicationList),
&dwSize
);
dwSize = sizeof(DWORD);
RegQueryValueExW(
hKey,
TEXT("MasterPadding"),
0,
NULL,
&(sws->dwMasterPadding),
&dwSize
);
if (sws->bIsInitialized)
{
sws_WindowSwitcher_UnregisterHotkeys(sws);
+13
View File
@@ -315,6 +315,19 @@
;x 60 60 %
;x 55 55 %
"MaxHeight"=dword:00000050
;c 11 Window padding
;x 50 50 pt
;x 45 45 pt
;x 40 40 pt (default)
;x 35 30 pt
;x 30 30 pt
;x 25 25 pt
;x 20 20 pt
;x 15 15 pt
;x 10 10 pt
;x 5 5 pt
;x 0 None
"MasterPadding"=dword:00000028
;c 11 Show delay
;x 0 None
;x 25 25 ms