Public Attributes | List of all members
minxlib::map_notify Struct Reference

Encapsulation of MapNotify events. More...

#include <event.hh>

Public Attributes

const window parent
 Target window's parent. More...
const bool override_redirect
 Should the window manager ignore this window? More...
- Public Attributes inherited from minxlib::event
const int type
 Event type as specified in X11/X.h. More...
const unsigned long serial
 Last request number processed by X server. More...
const bool send_event
 True if triggered by SendEvent request. More...
const window target
 Event's target window. More...

Additional Inherited Members

- Public Member Functions inherited from minxlib::event
virtual ~event ()
 Event object clean-up. More...
- Static Public Member Functions inherited from minxlib::event
static boost::shared_ptr< eventcreate (const XEvent &e, Display *d)
 Factory method for creating events. More...
static void pythonize ()
 Export event class to minxlib Python module. More...
- Protected Types inherited from minxlib::event
typedef event *(* cr_func )(const XEvent &, Display *)
 Signature of factory functions for creating events. More...
typedef void(* py_func )()
 Signature of Pythonize functions. More...
typedef factory_map< int,
cr_func, py_func
 Registry of subclass object factories and Pythonize functions. More...
- Protected Member Functions inherited from minxlib::event
 event (const XEvent &e, Display *d, Window w)
 Create a wrapper object for an X event. More...

Detailed Description

Encapsulation of MapNotify events.

The X server sends these events after a window is shown on the screen. This is an important event for window managers because windows cannot be focused until they have been mapped.

Member Data Documentation

const bool minxlib::map_notify::override_redirect

Should the window manager ignore this window?

If this flag is on, the window manager should ignore the configured window.

const window minxlib::map_notify::parent

Target window's parent.

This field specifies the parent window of the event's target window. If that's the root window of some screen, we have ourselves a top-level window that the window manager cares about; otherwise, it's some application's child window that we need not bother with.