diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-31 10:00:10 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-31 12:25:31 -0500 |
| commit | 52369e319f11e1189e8980f64974236eeb4de96e (patch) | |
| tree | 53a1092786938f55aaee99f2678a885c454fbb1c /openbox/popup.c | |
| parent | 73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (diff) | |
simplify window.h macros, and rename the window types to ObWindowClass for consistent name style
Diffstat (limited to 'openbox/popup.c')
| -rw-r--r-- | openbox/popup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/popup.c b/openbox/popup.c index d9a52145..8176b6bf 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -33,7 +33,7 @@ ObPopup *popup_new(void) XSetWindowAttributes attrib; ObPopup *self = g_new0(ObPopup, 1); - self->obwin.type = OB_WINDOW_CLASS_INTERNALWINDOW; + self->obwin.type = OB_WINDOW_CLASS_INTERNAL; self->gravity = NorthWestGravity; self->x = self->y = self->textw = self->h = 0; self->a_bg = RrAppearanceCopy(ob_rr_theme->osd_hilite_bg); @@ -56,8 +56,8 @@ ObPopup *popup_new(void) XMapWindow(obt_display, self->text); - stacking_add(INTERNALWINDOW_AS_WINDOW(self)); - window_add(&self->bg, INTERNALWINDOW_AS_WINDOW(self)); + stacking_add(INTERNAL_AS_WINDOW(self)); + window_add(&self->bg, INTERNAL_AS_WINDOW(self)); return self; } @@ -141,7 +141,7 @@ static gboolean popup_show_timeout(gpointer data) ObPopup *self = data; XMapWindow(obt_display, self->bg); - stacking_raise(INTERNALWINDOW_AS_WINDOW(self)); + stacking_raise(INTERNAL_AS_WINDOW(self)); self->mapped = TRUE; self->delay_mapped = FALSE; |
