mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
3f4e194c8f
Wed May 24 12:57:32 2006 Søren Sandmann <sandmann@redhat.com> * src/c-window.c (meta_comp_window_free): return TRUE when the window is actually freed. * src/compositor.c (do_effect): Disable updating before exploding the window. * src/c-window.c: Make MetaCompWindow refcounted. * src/c-window.[ch]: New functions meta_comp_window_{show,hide} * src/c-screen.c (meta_comp_screen_unmap): Call meta_comp_window_hide() instead of directly setting the viewable status of the node. * src/c-screen.c (meta_comp_screen_remove_window): Only remove the window when it is actually freed.
52 lines
2.4 KiB
C
52 lines
2.4 KiB
C
#include "screen.h"
|
|
#include "c-window.h"
|
|
|
|
typedef struct MetaCompScreen MetaCompScreen;
|
|
|
|
MetaCompScreen *meta_comp_screen_new (WsDisplay *display,
|
|
MetaScreen *screen);
|
|
MetaCompScreen *meta_comp_screen_get_by_xwindow (Window xwindow);
|
|
void meta_comp_screen_destroy (MetaCompScreen *scr_info);
|
|
void meta_comp_screen_redirect (MetaCompScreen *info);
|
|
void meta_comp_screen_unredirect (MetaCompScreen *info);
|
|
void meta_comp_screen_add_window (MetaCompScreen *scr_info,
|
|
Window xwindow);
|
|
void meta_comp_screen_remove_window (MetaCompScreen *scr_info,
|
|
Window xwindow);
|
|
void meta_comp_screen_restack (MetaCompScreen *scr_info,
|
|
Window window,
|
|
Window above_this);
|
|
void meta_comp_screen_set_size (MetaCompScreen *info,
|
|
Window window,
|
|
gint x,
|
|
gint y,
|
|
gint width,
|
|
gint height);
|
|
void meta_comp_screen_raise_window (MetaCompScreen *scr_info,
|
|
Window window);
|
|
void meta_comp_screen_queue_paint (MetaCompScreen *info);
|
|
void meta_comp_screen_set_updates (MetaCompScreen *info,
|
|
Window xwindow,
|
|
gboolean updates);
|
|
void meta_comp_screen_set_patch (MetaCompScreen *info,
|
|
Window xwindow,
|
|
CmPoint points[4][4]);
|
|
void meta_comp_screen_unset_patch (MetaCompScreen *info,
|
|
Window xwindow);
|
|
void meta_comp_screen_set_alpha (MetaCompScreen *info,
|
|
Window xwindow,
|
|
gdouble alpha);
|
|
void meta_comp_screen_get_real_size (MetaCompScreen *info,
|
|
Window xwindow,
|
|
WsRectangle *size);
|
|
void meta_comp_screen_set_target_rect (MetaCompScreen *info,
|
|
Window xwindow,
|
|
WsRectangle *rect);
|
|
void meta_comp_screen_set_explode (MetaCompScreen *info,
|
|
Window xwindow,
|
|
gdouble level);
|
|
void meta_comp_screen_unmap (MetaCompScreen *info,
|
|
Window xwindow);
|
|
MetaCompWindow *meta_comp_screen_lookup_window (MetaCompScreen *info,
|
|
Window xwindow);
|