Table of Contents

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

IDictionary<string, Func<IContext, IWindow, IWindowProcessor>>

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

window IWindow
The window to check.
eventType uint
The event type.
idObject int
The object ID.
idChild int
The child ID.
idEventThread uint
The event thread ID.
dwmsEventTime uint
The event time.

Returns

bool
True if the window should be ignored; otherwise, false.