hnm_display_event_appraise()

Appraise a display interaction request to determine if it should be serviced.

Synopsis:

#include <hnm/display_event.h>
 
bool hnm_display_event_appraise(hnm_Event *event, void *hnm_data)

Arguments:

event

The interaction event structure that encapsulates the display event.

hnm_data

The HNM data structure that provides access to the active event list and to the HNM policy configuration.

Library:

libhnm

Description:

This function analyzes the specified event to determine whether:

  • the request corresponds to a display event

OR:

  • given the current status of the HNM, the request should be serviced as is or using a fallback window type.

Returns:

A flag indicating whether the current display interaction request should be accepted (true) or rejected (false). If the event is not a display event, it will be rejected (false).