diff options
author | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-02-17 01:39:56 +0800 |
---|---|---|
committer | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-02-17 01:39:56 +0800 |
commit | 5603a1b3a35559a1208a8818ed97cdf2473839bd (patch) | |
tree | 2ae9426f9b5b853e1b4c22ae9ac5c3650f7ddd7f /gtk/window-decorator/switcher.c | |
parent | af4e7bc36f27b8908a150dd497752e85a8281b20 (diff) | |
download | compiz-with-glib-mainloop-5603a1b3a35559a1208a8818ed97cdf2473839bd.tar.gz compiz-with-glib-mainloop-5603a1b3a35559a1208a8818ed97cdf2473839bd.tar.bz2 |
Added simple frames management system.
Right now this just keeps the frames in a private area and returns a
pre-allocated frame, but it will be expanded to allow reference counting
on frames and allocation on-demand
Diffstat (limited to 'gtk/window-decorator/switcher.c')
-rw-r--r-- | gtk/window-decorator/switcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/switcher.c b/gtk/window-decorator/switcher.c index e8d44d9..47a4a91 100644 --- a/gtk/window-decorator/switcher.c +++ b/gtk/window-decorator/switcher.c @@ -307,7 +307,7 @@ update_switcher_window (Window popup, d->decorated = FALSE; d->draw = draw_switcher_decoration; - d->frame = &decor_frames[DECOR_FRAME_TYPE_SWITCHER]; + d->frame = gwd_get_decor_frame (DECOR_FRAME_TYPE_SWITCHER); decor_get_default_layout (&d->frame->window_context, width, 1, &d->border_layout); |