[Linux, X11] XComposite match by substring

Witold Baryluk

New Member
Some applications insert version or prefix/suffix to their window title, and that is then tricky to capture automatically.

A regexp, or just a checkbox to match substring on plugin initialization (the title changes after initialization should be ignored, unless the window closes, and plugin searches again for the window).

Examples from `xwininfo`:

Code:
xwininfo: Window id: 0x4800003 "Ideas and Suggestions | OBS Forums — Mozilla Firefox"
xwininfo: Window id: 0x7200014 "Factorio 1.1.57"
xwininfo: Window id: 0x4200007 "user@debian: ~"
xwininfo: Window id: 0x1a00006 "OBS 27.2.3+dfsg1-1 (linux) - Profile: Untitled - Scenes: Factorio Generic"

Without this feature, everytime I add a webbrowser, or game updates, I need to update my sources.

As a second request (nice to have), is to have an index. If I have two (seaprate) XComposite sources with same title match, I might want to capture different ones in them (otherwise I would use single source and reference it twice in a scene or scenes).
 
Top