MC_MaximizeButton,
MC_CloseButton,
MC_IconifyButton,
- MC_StickyButton,
+ MC_AllDesktopsButton,
MC_Grip,
MC_Root,
MC_MenuItem,
EventCloseWindow,
EventStartup,
EventShutdown,
+ EventKey,
EventFocus,
EventBell,
NUM_EVENTS
Time time;
unsigned int state;
std::string key;
+ EventAction action; // this is here so that all the Data structs have .action
KeyData(int screen, Client *client, Time time, unsigned int state,
unsigned int key) {
this->state = state;
this->key = XKeysymToString(XKeycodeToKeysym(**otk::display,
key, 0));
+ this->action = EventKey;
}
};