sws window padding is configurable
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
Submodule libs/sws updated: 5554617cb0...c36c3be8a4
Reference in New Issue
Block a user