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:
parent
9c0d4edfe5
commit
19834620e6
@ -3434,6 +3434,15 @@ void sws_ReadSettings(sws_WindowSwitcher* sws)
|
|||||||
&(sws->bNoPerApplicationList),
|
&(sws->bNoPerApplicationList),
|
||||||
&dwSize
|
&dwSize
|
||||||
);
|
);
|
||||||
|
dwSize = sizeof(DWORD);
|
||||||
|
RegQueryValueExW(
|
||||||
|
hKey,
|
||||||
|
TEXT("MasterPadding"),
|
||||||
|
0,
|
||||||
|
NULL,
|
||||||
|
&(sws->dwMasterPadding),
|
||||||
|
&dwSize
|
||||||
|
);
|
||||||
if (sws->bIsInitialized)
|
if (sws->bIsInitialized)
|
||||||
{
|
{
|
||||||
sws_WindowSwitcher_UnregisterHotkeys(sws);
|
sws_WindowSwitcher_UnregisterHotkeys(sws);
|
||||||
|
@ -315,6 +315,19 @@
|
|||||||
;x 60 60 %
|
;x 60 60 %
|
||||||
;x 55 55 %
|
;x 55 55 %
|
||||||
"MaxHeight"=dword:00000050
|
"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
|
;c 11 Show delay
|
||||||
;x 0 None
|
;x 0 None
|
||||||
;x 25 25 ms
|
;x 25 25 ms
|
||||||
|
2
libs/sws
2
libs/sws
@ -1 +1 @@
|
|||||||
Subproject commit 5554617cb058e2c66fbdac898557697d61b7516c
|
Subproject commit c36c3be8a4f15c9ac7a6326ee395a4f5411f8c55
|
Loading…
Reference in New Issue
Block a user