Mir
Public Member Functions | List of all members
miral::AppendEventFilter Class Reference

#include <append_event_filter.h>

Public Member Functions

 AppendEventFilter (std::function< bool(MirEvent const *event)> const &filter)
 Append an event filter (after 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. More...
 
void operator() (mir::Server &server)
 

Constructor & Destructor Documentation

◆ AppendEventFilter()

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

Append an event filter (after 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
the filter return type changed to bool in MirAL 3.6

Member Function Documentation

◆ operator()()

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

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

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.