#include <X11FocusWatcher.hpp>
Public Member Functions | |
bool | isNull () |
Check if the event is a useless event. | |
bool | operator!= (X11FocusEvent const &Event) |
!= operator | |
bool | operator== (X11FocusEvent const &Event) |
== operator | |
X11FocusEvent () | |
X11FocusEvent Default Constructor. | |
X11FocusEvent (X11FocusEventType eventType, std::string windowName, std::string windowNameFormal, std::string windowClass) | |
X11FocusEvent Init Constructor. | |
X11FocusEvent (X11FocusEvent const &Event) | |
X11FocusEvent Init Constructor. | |
virtual | ~X11FocusEvent () |
X11FocusEvent Destructor. | |
Public Attributes | |
X11FocusEventType | EventType |
The type of event. | |
std::string | WindowName |
Name of the Window as displayed in title bar. | |
std::string | WindowNameFormal |
Strict Name of the Window. | |
std::string | WindowClass |
Class of the Window. | |
Friends | |
class | boost::serialization::access |
Note that there is NO GUARANTEE that event orders are logical For example, FOCUS_IN events might occur BEFORE a FOCUS_OUT event, however, the events are true -- The current focus will always be the last event with a FOCUS_IN type.
This is due to the way X (and your WM's focus stealing prevention) works (or perhaps doesn't work).
Definition at line 82 of file X11FocusWatcher.hpp.
bool X11FocusEvent::isNull | ( | ) |
Check if the event is a useless event.
Definition at line 350 of file X11FocusWatcher.cpp.
References TITLE_UNKNOWN, and WINDOW_UNKNOWN.
bool X11FocusEvent::operator!= | ( | X11FocusEvent const & | Event | ) |
!= operator
Event | The test event |
Definition at line 409 of file X11FocusWatcher.cpp.
References EventType, WindowClass, WindowName, and WindowNameFormal.
bool X11FocusEvent::operator== | ( | X11FocusEvent const & | Event | ) |
== operator
Event | The test event |
Definition at line 422 of file X11FocusWatcher.cpp.
References EventType, WindowClass, WindowName, and WindowNameFormal.