Widow – Diff between revs 25 and 26
?pathlinks?
Rev 25 | Rev 26 | |||
---|---|---|---|---|
Line 123... | Line 123... | |||
123 | if (!Natives.GetWindowRect(e.Handle, out var rect)) |
123 | if (!Natives.GetWindowRect(e.Handle, out var rect)) |
|
124 | { |
124 | { |
|
125 | return; |
125 | return; |
|
126 | } |
126 | } |
|
Line 127... | Line -... | |||
127 | |
- | ||
128 | string process; |
- | ||
129 | try |
- | ||
130 | { |
127 | |
|
131 | process = Helpers.GetProcessName(e.Handle); |
- | ||
132 | } |
- | ||
133 | catch |
- | ||
134 | { |
- | ||
135 | return; |
- | ||
Line 136... | Line 128... | |||
136 | } |
128 | var process = Helpers.GetProcessName(e.Handle); |
|
137 | |
129 | |
|
138 | if (string.IsNullOrEmpty(process)) |
130 | if (string.IsNullOrEmpty(process)) |
|
139 | { |
131 | { |