summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2003-08-16 16:32:10 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-08-16 16:32:10 +0000
commit71cd8948d2b66310b5ea9e5466c589bb52c7c4e7 (patch)
tree9fe3242ae85dba50d4e3597e101468441550a31e /src/frames.h
parent288e10f7fe88b7b55d2ca650475cf87555286330 (diff)
downloadmetacity-71cd8948d2b66310b5ea9e5466c589bb52c7c4e7.tar.gz
metacity-71cd8948d2b66310b5ea9e5466c589bb52c7c4e7.tar.bz2
Patch from Soeren Sandmann #108926 to improve opaque resize
2003-08-16 Havoc Pennington <hp@pobox.com> Patch from Soeren Sandmann #108926 to improve opaque resize * src/frame.c (meta_window_ensure_frame): new function * src/ui.c (meta_ui_create_frame_window): new function to create a frame with GDK, so that GDK's invalidation etc. work properly
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/frames.h b/src/frames.h
index 182b651..13b4f9a 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -103,7 +103,8 @@ GType meta_frames_get_type (void) G_GNUC_CONST;
MetaFrames *meta_frames_new (int screen_number);
void meta_frames_manage_window (MetaFrames *frames,
- Window xwindow);
+ Window xwindow,
+ GdkWindow *window);
void meta_frames_unmanage_window (MetaFrames *frames,
Window xwindow);
void meta_frames_set_title (MetaFrames *frames,
@@ -130,7 +131,12 @@ void meta_frames_apply_shapes (MetaFrames *frames,
int new_window_width,
int new_window_height,
gboolean window_has_shape);
-
+void meta_frames_move_resize_frame (MetaFrames *frames,
+ Window xwindow,
+ int x,
+ int y,
+ int width,
+ int height);
void meta_frames_queue_draw (MetaFrames *frames,
Window xwindow);