win-capture: Fix and clarify window capture prioritization

Changes "class" prioritization to attempt to find the window either with
the same title, or the next window of the same window class (window
type), changes "title" prioritization to only find the window based
upon its title, and changes "executable" prioritization to attempt to
find the window with the same title, or the next window of the same
executable.

Additionally changes the text associated with these selections to
clarify that functionality to users.
This commit is contained in:
jp9000
2017-04-30 00:25:02 -07:00
parent 54281f2e84
commit 2e0d237341
2 changed files with 29 additions and 27 deletions

View File

@@ -2,9 +2,9 @@ MonitorCapture="Display Capture"
WindowCapture="Window Capture"
WindowCapture.Window="Window"
WindowCapture.Priority="Window Match Priority"
WindowCapture.Priority.Title="Window Title"
WindowCapture.Priority.Class="Window Class"
WindowCapture.Priority.Exe="Executable Name"
WindowCapture.Priority.Title="Window title must match"
WindowCapture.Priority.Class="Match title, otherwise find window of same type"
WindowCapture.Priority.Exe="Match title, otherwise find window of same executable"
CaptureCursor="Capture Cursor"
Compatibility="Multi-adapter Compatibility"
AllowTransparency="Allow Transparency"