summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 10:00:10 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commit52369e319f11e1189e8980f64974236eeb4de96e (patch)
tree53a1092786938f55aaee99f2678a885c454fbb1c /openbox/event.c
parent73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (diff)
simplify window.h macros, and rename the window types to ObWindowClass for consistent name style
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index c54cd166..2e3a44c5 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -476,7 +476,7 @@ static void event_process(const XEvent *ec, gpointer data)
case OB_WINDOW_CLASS_MENUFRAME:
menu = WINDOW_AS_MENUFRAME(obwin);
break;
- case OB_WINDOW_CLASS_INTERNALWINDOW:
+ case OB_WINDOW_CLASS_INTERNAL:
/* we don't do anything with events directly on these windows */
break;
}
@@ -711,7 +711,7 @@ static void event_process(const XEvent *ec, gpointer data)
ObWindow *w;
if ((w = window_find(e->xbutton.subwindow)) &&
- WINDOW_IS_INTERNALWINDOW(w))
+ WINDOW_IS_INTERNAL(w))
{
event_handle_user_input(client, e);
}