diff options
author | Havoc Pennington <hp@pobox.com> | 2003-08-16 16:32:10 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2003-08-16 16:32:10 +0000 |
commit | 71cd8948d2b66310b5ea9e5466c589bb52c7c4e7 (patch) | |
tree | 9fe3242ae85dba50d4e3597e101468441550a31e /src/ui.h | |
parent | 288e10f7fe88b7b55d2ca650475cf87555286330 (diff) | |
download | mutter-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.h | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -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, |