diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-12 18:12:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-12 18:12:17 +0000 |
| commit | 8b67ce7030aa22595d77527cdc5b74b84d185a8b (patch) | |
| tree | e6e54f9a78194b01594a16553fecf0d0e914fb54 /openbox/config.c | |
| parent | 555e3384ff652ece08b45c6a050688cd5a3231fe (diff) | |
prefix/capitalize the mouse actions enum
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openbox/config.c b/openbox/config.c index b7241f59..9e32609d 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -133,22 +133,22 @@ static void parse_mouse(xmlDocPtr doc, xmlNodePtr node, void *d) if (!parse_attr_string("button", nbut, &buttonstr)) goto next_nbut; if (parse_attr_contains("press", nbut, "action")) - mact = MouseAction_Press; + mact = OB_MOUSE_ACTION_PRESS; else if (parse_attr_contains("release", nbut, "action")) - mact = MouseAction_Release; + mact = OB_MOUSE_ACTION_RELEASE; else if (parse_attr_contains("click", nbut, "action")) - mact = MouseAction_Click; + mact = OB_MOUSE_ACTION_CLICK; else if (parse_attr_contains("doubleclick", nbut,"action")) - mact = MouseAction_DClick; + mact = OB_MOUSE_ACTION_DOUBLE_CLICK; else if (parse_attr_contains("drag", nbut, "action")) - mact = MouseAction_Motion; + mact = OB_MOUSE_ACTION_MOTION; else goto next_nbut; nact = parse_find_node("action", nbut->xmlChildrenNode); while (nact) { if ((action = action_parse(doc, nact))) { /* validate that its okay for a mouse binding*/ - if (mact == MouseAction_Motion) { + if (mact == OB_MOUSE_ACTION_MOTION) { if (action->func != action_moveresize || action->data.moveresize.corner == prop_atoms.net_wm_moveresize_move_keyboard || |
