diff options
author | Havoc Pennington <hp@redhat.com> | 2002-05-09 22:34:00 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-05-09 22:34:00 +0000 |
commit | 912afb6e6bc029e4be99f2d145399c63a5a88a80 (patch) | |
tree | 1f4d50486395362693c66463990d7cc79a177b24 /src/frames.h | |
parent | 6d2c558bd8c4f3159f46ab2c58f1c51471785b9f (diff) | |
download | metacity-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/frames.h')
-rw-r--r-- | src/frames.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frames.h b/src/frames.h index a295b9e3..10e9380a 100644 --- a/src/frames.h +++ b/src/frames.h @@ -109,6 +109,9 @@ void meta_frames_set_title (MetaFrames *frames, Window xwindow, const char *title); +void meta_frames_repaint_frame (MetaFrames *frames, + Window xwindow); + void meta_frames_get_geometry (MetaFrames *frames, Window xwindow, int *top_height, int *bottom_height, |