summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-05-09 22:34:00 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-09 22:34:00 +0000
commit912afb6e6bc029e4be99f2d145399c63a5a88a80 (patch)
tree1f4d50486395362693c66463990d7cc79a177b24 /src/ui.c
parent6d2c558bd8c4f3159f46ab2c58f1c51471785b9f (diff)
downloadmetacity-912afb6e6bc029e4be99f2d145399c63a5a88a80.tar.gz
DefaultScreen() returns the screen number not Screen*
2002-05-09 Havoc Pennington <hp@redhat.com> * src/frames.c (show_tip_now): DefaultScreen() returns the screen number not Screen* * src/frame.c (meta_frame_sync_to_window): immediately repaint frame whenever we resize it, if we're inside a grab operation. * src/frames.c (meta_frames_repaint_frame): new function * src/window.c (meta_window_new): initialize window's colormap (meta_window_notify_focus): install the colormap for a window when it gets focus, uninstall on unfocus. * src/window.h (struct _MetaWindow): store window's colormap * src/display.c (event_callback): note changes to window colormap * src/frame.c (EVENT_MASK): add ColormapChangeMask
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 87eeef91..d59adb96 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -217,6 +217,13 @@ meta_ui_unflicker_frame_bg (MetaUI *ui,
}
void
+meta_ui_repaint_frame (MetaUI *ui,
+ Window xwindow)
+{
+ meta_frames_repaint_frame (ui->frames, xwindow);
+}
+
+void
meta_ui_reset_frame_bg (MetaUI *ui,
Window xwindow)
{