Skip to content

Commit f5c7d65

Browse files
authored
Merge branch 'mgth:master' into master
2 parents 05e2f54 + 6c9e193 commit f5c7d65

File tree

18 files changed

+173
-142
lines changed

18 files changed

+173
-142
lines changed

HLab.Sys/HLab.Sys.Argyll/HLab.Sys.Argyll.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Avalonia" Version="11.0.6" />
12-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.6" />
11+
<PackageReference Include="Avalonia" Version="11.0.7" />
12+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

HLab.Sys/HLab.Sys.Windows.MonitorVcp.Avalonia/HLab.Sys.Windows.MonitorVcp.Avalonia.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Avalonia" Version="11.0.6" />
12+
<PackageReference Include="Avalonia" Version="11.0.7" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

HLab.Sys/HLab.Sys.Windows.Monitors/Factory/DeviceFactory.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ static DisplayDevice BuildDisplayDevice(DisplayDevice parent, WinGdi.DisplayDevi
121121
case "RdpIdd_IndirectDisplay":
122122
case string s when s.StartsWith("VID_DATRONICSOFT_PID_SPACEDESK_VIRTUAL_DISPLAY_"):
123123
case "PCI":
124-
125-
return BuildPhysicalAdapter(parent, device);
126-
127124
default:
125+
if(parent.Id=="ROOT")
126+
return BuildPhysicalAdapter(parent, device);
128127
break;
129128
}
130129

HLab.Sys/HLab.Sys.Windows.Monitors/HLab.Sys.Windows.Monitors.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.6" />
15+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
1616
<PackageReference Include="System.Management" Version="8.0.0" />
1717
</ItemGroup>
1818

LittleBigMouse.Core/LittleBigMouse.DisplayLayout/LittleBigMouse.DisplayLayout.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.6" />
12+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
1313
<PackageReference Include="H.Pipes" Version="2.0.59" />
1414
<PackageReference Include="MessageBox.Avalonia" Version="3.1.5.1" />
1515
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="8.0.0" />

LittleBigMouse.Core/LittleBigMouse.Zones/LittleBigMouse.Zoning.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Avalonia" Version="11.0.6" />
12+
<PackageReference Include="Avalonia" Version="11.0.7" />
1313
<PackageReference Include="Avalonia.MatrixExtensions" Version="3.0.0-preview6" />
1414
<PackageReference Include="System.Linq.Expressions" Version="4.3.0" />
1515
</ItemGroup>

LittleBigMouse.Daemon/LittleBigMouse.Hook/HookerWinEvents.cpp

+18-7
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,36 @@ void CALLBACK Hooker::WindowChangeHook(
6969
if (hWnd != nullptr) {
7070
const DWORD processId = GetProcessIdFromWindow(hWnd);
7171
const LONG style = GetWindowLong(hWnd, GWL_STYLE);
72-
if (processId != 0) {
73-
auto exePath = GetExecutablePathFromProcessId(processId);
72+
if (processId != 0)
73+
{
74+
const auto exePath = GetExecutablePathFromProcessId(processId);
7475

7576
#if defined(_DEBUG)
7677
std::cout << "Window: " << (style & WS_MAXIMIZE) << '\n';
7778
#endif
7879

79-
if (!exePath.empty()) {
80-
// Use the executable path as needed
81-
wprintf(L"Executable Path: %s\n", exePath.c_str());
80+
if (!exePath.empty())
81+
{
82+
#if defined(_DEBUG)
83+
wprintf(L"Executable Path: %s\n", exePath.c_str());
84+
#endif
8285

8386
Instance()->OnFocusChanged.fire(to_string(exePath));
8487

85-
} else {
88+
}
89+
#if defined(_DEBUG)
90+
else
91+
{
8692
wprintf(L"Unable to retrieve the executable path.\n");
8793
}
88-
} else {
94+
#endif
95+
}
96+
#if defined(_DEBUG)
97+
else
98+
{
8999
wprintf(L"Unable to retrieve the process ID.\n");
90100
}
101+
#endif
91102
}
92103
}
93104

LittleBigMouse.Plugins/LittleBigMouse.Plugin.Layout.Avalonia/LittleBigMouse.Plugin.Layout.Avalonia.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="Avalonia" Version="11.0.6" />
25-
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.6" />
24+
<PackageReference Include="Avalonia" Version="11.0.7" />
25+
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.7" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

LittleBigMouse.Plugins/LittleBigMouse.Plugin.Vcp.Avalonia/LittleBigMouse.Plugin.Vcp.Avalonia.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="Avalonia" Version="11.0.6" />
25-
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.6" />
26-
<PackageReference Include="ScottPlot.Avalonia" Version="5.0.10-beta" />
24+
<PackageReference Include="Avalonia" Version="11.0.7" />
25+
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.7" />
26+
<PackageReference Include="ScottPlot.Avalonia" Version="5.0.18" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

LittleBigMouse.Plugins/LittleBigMouse.Plugins.Avalonia/LittleBigMouse.Plugins.Avalonia.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.6" />
12+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

LittleBigMouse.Ui/LittleBigMouse.Ui.Avalonia/Assets/Icon/Pnp/Hp.HPQ.HPD.HPC.svg

-69
This file was deleted.
Loading

LittleBigMouse.Ui/LittleBigMouse.Ui.Avalonia/Assets/Icon/Pnp/Windows.svg

-39
This file was deleted.

LittleBigMouse.Ui/LittleBigMouse.Ui.Avalonia/LittleBigMouse.Ui.Avalonia.csproj

+7-7
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@
5050

5151
<ItemGroup>
5252
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
53-
<PackageReference Include="Avalonia" Version="11.0.6" />
54-
<PackageReference Include="Avalonia.Desktop" Version="11.0.6" />
55-
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.6" />
56-
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.6" />
57-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.6" />
58-
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.6" />
53+
<PackageReference Include="Avalonia" Version="11.0.7" />
54+
<PackageReference Include="Avalonia.Desktop" Version="11.0.7" />
55+
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.7" />
56+
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.7" />
57+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
58+
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.7" />
5959
<PackageReference Include="Grace" Version="8.0.0-RC837" />
6060
<PackageReference Include="Live.Avalonia" Version="1.4.1" />
6161
<PackageReference Include="MessageBox.Avalonia" Version="3.1.5.1" />
6262
<PackageReference Include="Microsoft.NETCore.Platforms" Version="8.0.0-preview.7.23375.6" />
63-
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.1" />
63+
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.2" />
6464
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
6565
</ItemGroup>
6666

0 commit comments

Comments
 (0)