1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00

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

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);

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

@ -1 +1 @@
Subproject commit 5554617cb058e2c66fbdac898557697d61b7516c
Subproject commit c36c3be8a4f15c9ac7a6326ee395a4f5411f8c55