Interface IWindowProcessorManager
- Namespace
- Whim
- Assembly
- Whim.dll
The container for custom window processors.
These are used to handle windows with non-standard behavior.
For example, Firefox will try reset the window position on startup. The FirefoxWindowProcessor
will ignore these events.
public interface IWindowProcessorManager
Properties
ProcessorCreators
All the processors that are currently registered.
By default, this will contain the FirefoxWindowProcessor and the TeamsWindowProcessor.
IDictionary<string, Func<IContext, IWindow, IWindowProcessor?>> ProcessorCreators { get; }
Property Value
Methods
ShouldBeIgnored(IWindow, uint, int, int, uint, uint)
Checks if the given window should be ignored by Whim.
bool ShouldBeIgnored(IWindow window, uint eventType, int idObject, int idChild, uint idEventThread, uint dwmsEventTime)
Parameters
windowIWindow- The window to check.
eventTypeuint- The event type.
idObjectint- The object ID.
idChildint- The child ID.
idEventThreaduint- The event thread ID.
dwmsEventTimeuint- The event time.
Returns
- bool
- True if the window should be ignored; otherwise, false.