Intercepts XCB_CLIENT_MESSAGE with type _NET_ACTIVE_WINDOW . Applies rules:
| X11 Protocol / Event | xfreeh Action | |----------------------|----------------| | XCB_GRAB_KEYBOARD | Start timer; if exceeds LIBERATION_TIMEOUT , ungrab. | | XCB_FOCUS_IN | Record focus timestamp + source (Normal/Grab/Pointer). | | _NET_ACTIVE_WINDOW | Evaluate against focus policy; may discard or delay. | | XCB_MAP_REQUEST | Check against exclusion zones; adjust geometry if needed. | | XCB_KEY_PRESS (escape chord) | Force ungrab all, unset fullscreen on top window, warp pointer to safe region. | xfreeh
The escape chord is implemented as a using XGrabKey with owner_events = False and XCB_GRAB_MODE_ASYNC . This guarantees the chord works even when another client holds a synchronous grab. Intercepts XCB_CLIENT_MESSAGE with type _NET_ACTIVE_WINDOW
: By focusing on this specific subset of the space, algorithms can more effectively "GenerateSample" or "LocalPlan" without checking every possible coordinate in the entire environment, which significantly speeds up processing. Summary for an Essay If you are writing an essay on this topic, you should focus on the | | _NET_ACTIVE_WINDOW | Evaluate against focus policy;
Maintains an (rectangles) where windows must never be mapped, raised above, or fullscreened over. Typical uses:
xfreeh --trust-class "firefox" --trust-class "gamescope"
: Xfreeh is designed to be highly flexible, allowing for multiple devices to be charged simultaneously. This is particularly useful for applications such as public transportation, where multiple devices may need to be charged at once.