From 52369e319f11e1189e8980f64974236eeb4de96e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 10:00:10 -0500 Subject: simplify window.h macros, and rename the window types to ObWindowClass for consistent name style --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/event.c') 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); } -- cgit v1.2.3