Class FirefoxWindowProcessor
- Namespace
- Whim
- Assembly
- Whim.dll
Custom logic to handle events from Firefox.
public class FirefoxWindowProcessor : IWindowProcessor
- Inheritance
-
FirefoxWindowProcessor
- Implements
- Inherited Members
Properties
Window
The window that this processor is for.
public IWindow Window { get; }
Property Value
Methods
Create(IContext, IWindow)
Creates a new instance of the implementing class, if the given window matches the processor.
public static IWindowProcessor? Create(IContext ctx, IWindow window)
Parameters
Returns
ProcessEvent(uint, int, int, uint, uint)
Indicates whether the event should be ignored by Whim.
public WindowProcessorResult ProcessEvent(uint eventType, int idObject, int idChild, uint idEventThread, uint dwmsEventTime)
Parameters
Returns
Remarks
Firefox has some irregular behavior:
- Firefox will move a window after an interdeterminate timeout on startup [Source]
-
Firefox can perform actions 500ms after an event is received - e.g., after
WindowMoved
[Source] - Firefox will cloak the window when showing for the first time [Source]