summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-05-31 00:02:54 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-31 00:02:54 +0000
commit3a745537f04abf6a78224260dda7b13f6c35d55c (patch)
tree95329d8b348949ab0b9e98b3742f6cd8d7853cec /src/ui.c
parent3d62f360fe620b52d8d2c3909c43894335d118af (diff)
downloadmetacity-3a745537f04abf6a78224260dda7b13f6c35d55c.tar.gz
verbose-log on startup whether we were compiled with various extensions
2002-05-30 Havoc Pennington <hp@redhat.com> * src/main.c (main): verbose-log on startup whether we were compiled with various extensions * src/display.c (meta_display_queue_retheme_all_windows): reapply shape mask when changing themes, sucks to do it here though, makes theme changing slower. Needs fixing. * src/theme-parser.c (parse_toplevel_element): parse rounded corner options to frame_geometry * src/frames.c (meta_frames_apply_shapes): apply rounded corners if requested by the theme * configure.in (HAVE_SHAPE): check for shape extension
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index d59adb96..bc9684af 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -231,6 +231,15 @@ meta_ui_reset_frame_bg (MetaUI *ui,
}
void
+meta_ui_apply_frame_shape (MetaUI *ui,
+ Window xwindow,
+ int new_window_width,
+ int new_window_height)
+{
+ meta_frames_apply_shapes (ui->frames, xwindow, new_window_width, new_window_height);
+}
+
+void
meta_ui_queue_frame_draw (MetaUI *ui,
Window xwindow)
{