summaryrefslogtreecommitdiff
path: root/src/ui.h
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.h
parent6d2c558bd8c4f3159f46ab2c58f1c51471785b9f (diff)
downloadmetacity-912afb6e6bc029e4be99f2d145399c63a5a88a80.tar.gz
metacity-912afb6e6bc029e4be99f2d145399c63a5a88a80.tar.bz2
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.h')
-rw-r--r--src/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index f0f38c5..39b1817 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -80,6 +80,9 @@ void meta_ui_set_frame_title (MetaUI *ui,
Window xwindow,
const char *title);
+void meta_ui_repaint_frame (MetaUI *ui,
+ Window xwindow);
+
MetaWindowMenu* meta_ui_window_menu_new (MetaUI *ui,
Window client_xwindow,
MetaMenuOp ops,