summaryrefslogtreecommitdiff
path: root/src/ui.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/ui.h
parent288e10f7fe88b7b55d2ca650475cf87555286330 (diff)
downloadmutter-71cd8948d2b66310b5ea9e5466c589bb52c7c4e7.tar.gz
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/ui.h')
-rw-r--r--src/ui.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/ui.h b/src/ui.h
index 6ed690416..bdbb81465 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -54,11 +54,21 @@ void meta_ui_get_frame_geometry (MetaUI *ui,
Window frame_xwindow,
int *top_height, int *bottom_height,
int *left_width, int *right_width);
-void meta_ui_add_frame (MetaUI *ui,
- Window xwindow);
-void meta_ui_remove_frame (MetaUI *ui,
- Window xwindow);
-
+Window meta_ui_create_frame_window (MetaUI *ui,
+ Display *xdisplay,
+ gint x,
+ gint y,
+ gint width,
+ gint height,
+ gint screen_no);
+void meta_ui_destroy_frame_window (MetaUI *ui,
+ Window xwindow);
+void meta_ui_move_resize_frame (MetaUI *ui,
+ Window frame,
+ int x,
+ int y,
+ int width,
+ int height);
/* GDK insists on tracking map/unmap */
void meta_ui_map_frame (MetaUI *ui,