Mir
Loading...
Searching...
No Matches
Public Member Functions | List of all members
miral::PrependEventFilter Class Reference

#include <prepend_event_filter.h>

Public Member Functions

 PrependEventFilter (std::function< bool(MirEvent const *event)> const &filter)
 Prepend an event filter (before any existing filters, including the window manager). The supplied filter should return true if and only if it handles the event as filters later in the list will not be called.
 
void operator() (mir::Server &server)
 

Constructor & Destructor Documentation

◆ PrependEventFilter()

miral::PrependEventFilter::PrependEventFilter ( std::function< bool(MirEvent const *event)> const filter)
explicit

Prepend an event filter (before any existing filters, including the window manager). The supplied filter should return true if and only if it handles the event as filters later in the list will not be called.

Remarks
Since MirAL 3.6

Member Function Documentation

◆ operator()()

void miral::PrependEventFilter::operator() ( mir::Server &  server)

The documentation for this class was generated from the following file:

Copyright © 2012-2024 Canonical Ltd.
Generated on Wed Jul 10 16:33:01 UTC 2024
This documentation is licensed under the GPL version 2 or 3.