window.c File Reference

Go to the source code of this file.

Data Structures

struct  ClientLeaderData
struct  EventScannerData
struct  FindAncestorData

Defines

#define N_INITIAL_PROPS   18
#define _NET_WM_MOVERESIZE_SIZE_TOPLEFT   0
#define _NET_WM_MOVERESIZE_SIZE_TOP   1
#define _NET_WM_MOVERESIZE_SIZE_TOPRIGHT   2
#define _NET_WM_MOVERESIZE_SIZE_RIGHT   3
#define _NET_WM_MOVERESIZE_SIZE_BOTTOMRIGHT   4
#define _NET_WM_MOVERESIZE_SIZE_BOTTOM   5
#define _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT   6
#define _NET_WM_MOVERESIZE_SIZE_LEFT   7
#define _NET_WM_MOVERESIZE_MOVE   8
#define _NET_WM_MOVERESIZE_SIZE_KEYBOARD   9
#define _NET_WM_MOVERESIZE_MOVE_KEYBOARD   10
#define MAX_N_ACTIONS   12
#define DRAG_THRESHOLD_TO_SHAKE_THRESHOLD_FACTOR   6

Functions

static void update_sm_hints (MetaWindow *window)
static void update_role (MetaWindow *window)
static void update_net_wm_type (MetaWindow *window)
static void update_net_frame_extents (MetaWindow *window)
static void recalc_window_type (MetaWindow *window)
static void recalc_window_features (MetaWindow *window)
static void invalidate_work_areas (MetaWindow *window)
static void set_wm_state (MetaWindow *window, int state)
static void set_net_wm_state (MetaWindow *window)
static void send_configure_notify (MetaWindow *window)
static gboolean process_property_notify (MetaWindow *window, XPropertyEvent *event)
static void meta_window_show (MetaWindow *window)
static void meta_window_hide (MetaWindow *window)
static void meta_window_save_rect (MetaWindow *window)
static void save_user_window_placement (MetaWindow *window)
 Save the user_rect, but only if the window is neither maximized nor fullscreen, otherwise the window may snap back to those dimensions (bug #461927).
static void force_save_user_window_placement (MetaWindow *window)
 Save the user_rect regardless of whether the window is maximized or fullscreen.
static void meta_window_move_resize_internal (MetaWindow *window, MetaMoveResizeFlags flags, int resize_gravity, int root_x_nw, int root_y_nw, int w, int h)
static void ensure_mru_position_after (MetaWindow *window, MetaWindow *after_this_one)
static void meta_window_move_resize_now (MetaWindow *window)
static void meta_window_unqueue (MetaWindow *window, guint queuebits)
static void update_move (MetaWindow *window, gboolean snap, int x, int y)
static gboolean update_move_timeout (gpointer data)
static void update_resize (MetaWindow *window, gboolean snap, int x, int y, gboolean force)
static gboolean update_resize_timeout (gpointer data)
static void meta_window_flush_calc_showing (MetaWindow *window)
static gboolean queue_calc_showing_func (MetaWindow *window, void *data)
static void meta_window_apply_session_info (MetaWindow *window, const MetaWindowSessionInfo *info)
static void unmaximize_window_before_freeing (MetaWindow *window)
static void unminimize_window_and_all_transient_parents (MetaWindow *window)
static gboolean idle_calc_showing (gpointer data)
static gboolean idle_move_resize (gpointer data)
static gboolean idle_update_icon (gpointer data)
static const char * wm_state_to_string (int state)
static gboolean is_desktop_or_dock_foreach (MetaWindow *window, void *data)
static void maybe_leave_show_desktop_mode (MetaWindow *window)
MetaWindowmeta_window_new (MetaDisplay *display, Window xwindow, gboolean must_be_viewable)
MetaWindowmeta_window_new_with_attrs (MetaDisplay *display, Window xwindow, gboolean must_be_viewable, XWindowAttributes *attrs)
void meta_window_free (MetaWindow *window, guint32 timestamp)
gboolean meta_window_located_on_workspace (MetaWindow *window, MetaWorkspace *workspace)
static gboolean is_minimized_foreach (MetaWindow *window, void *data)
static gboolean ancestor_is_minimized (MetaWindow *window)
gboolean meta_window_showing_on_its_workspace (MetaWindow *window)
gboolean meta_window_should_be_showing (MetaWindow *window)
static void finish_minimize (gpointer data)
static void implement_showing (MetaWindow *window, gboolean showing)
void meta_window_calc_showing (MetaWindow *window)
static int stackcmp (gconstpointer a, gconstpointer b)
void meta_window_queue (MetaWindow *window, guint queuebits)
static gboolean intervening_user_event_occurred (MetaWindow *window)
gboolean __window_is_terminal (MetaWindow *window)
static void window_state_on_map (MetaWindow *window, gboolean *takes_focus, gboolean *places_on_top)
static gboolean windows_overlap (const MetaWindow *w1, const MetaWindow *w2)
static gboolean window_would_be_covered (const MetaWindow *newbie)
void meta_window_minimize (MetaWindow *window)
void meta_window_unminimize (MetaWindow *window)
static void ensure_size_hints_satisfied (MetaRectangle *rect, const XSizeHints *size_hints)
void meta_window_maximize_internal (MetaWindow *window, MetaMaximizeFlags directions, MetaRectangle *saved_rect)
void meta_window_maximize (MetaWindow *window, MetaMaximizeFlags directions)
void meta_window_unmaximize (MetaWindow *window, MetaMaximizeFlags directions)
void meta_window_make_above (MetaWindow *window)
void meta_window_unmake_above (MetaWindow *window)
void meta_window_make_fullscreen_internal (MetaWindow *window)
void meta_window_make_fullscreen (MetaWindow *window)
void meta_window_unmake_fullscreen (MetaWindow *window)
void meta_window_shade (MetaWindow *window, guint32 timestamp)
void meta_window_unshade (MetaWindow *window, guint32 timestamp)
static gboolean unminimize_func (MetaWindow *window, void *data)
static void window_activate (MetaWindow *window, guint32 timestamp, MetaClientType source_indication, MetaWorkspace *workspace)
void meta_window_activate (MetaWindow *window, guint32 timestamp)
void meta_window_activate_with_workspace (MetaWindow *window, guint32 timestamp, MetaWorkspace *workspace)
static void adjust_for_gravity (MetaWindow *window, MetaFrameGeometry *fgeom, gboolean coords_assume_border, int gravity, MetaRectangle *rect)
static gboolean static_gravity_works (MetaDisplay *display)
static void send_sync_request (MetaWindow *window)
void meta_window_resize (MetaWindow *window, gboolean user_op, int w, int h)
void meta_window_move (MetaWindow *window, gboolean user_op, int root_x_nw, int root_y_nw)
void meta_window_move_resize (MetaWindow *window, gboolean user_op, int root_x_nw, int root_y_nw, int w, int h)
void meta_window_resize_with_gravity (MetaWindow *window, gboolean user_op, int w, int h, int gravity)
void meta_window_get_position (MetaWindow *window, int *x, int *y)
void meta_window_get_client_root_coords (MetaWindow *window, MetaRectangle *rect)
void meta_window_get_gravity_position (MetaWindow *window, int gravity, int *root_x, int *root_y)
void meta_window_get_geometry (MetaWindow *window, int *x, int *y, int *width, int *height)
void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect)
void meta_window_get_xor_rect (MetaWindow *window, const MetaRectangle *grab_wireframe_rect, MetaRectangle *xor_rect)
static void meta_window_get_wireframe_geometry (MetaWindow *window, int *width, int *height)
void meta_window_begin_wireframe (MetaWindow *window)
void meta_window_update_wireframe (MetaWindow *window, int x, int y, int width, int height)
void meta_window_end_wireframe (MetaWindow *window)
const char * meta_window_get_startup_id (MetaWindow *window)
static MetaWindowget_modal_transient (MetaWindow *window)
void meta_window_focus (MetaWindow *window, guint32 timestamp)
static void meta_window_change_workspace_without_transients (MetaWindow *window, MetaWorkspace *workspace)
static gboolean change_workspace_foreach (MetaWindow *window, void *data)
void meta_window_change_workspace (MetaWindow *window, MetaWorkspace *workspace)
static void window_stick_impl (MetaWindow *window)
static void window_unstick_impl (MetaWindow *window)
static gboolean stick_foreach_func (MetaWindow *window, void *data)
void meta_window_stick (MetaWindow *window)
void meta_window_unstick (MetaWindow *window)
unsigned long meta_window_get_net_wm_desktop (MetaWindow *window)
void meta_window_set_current_workspace_hint (MetaWindow *window)
static gboolean find_root_ancestor (MetaWindow *window, void *data)
MetaWindowmeta_window_find_root_ancestor (MetaWindow *window)
void meta_window_raise (MetaWindow *window)
void meta_window_lower (MetaWindow *window)
void meta_window_send_icccm_message (MetaWindow *window, Atom atom, guint32 timestamp)
void meta_window_move_resize_request (MetaWindow *window, guint value_mask, int gravity, int new_x, int new_y, int new_width, int new_height)
gboolean meta_window_configure_request (MetaWindow *window, XEvent *event)
gboolean meta_window_property_notify (MetaWindow *window, XEvent *event)
gboolean meta_window_client_message (MetaWindow *window, XEvent *event)
gboolean meta_window_notify_focus (MetaWindow *window, XEvent *event)
gboolean meta_window_get_icon_geometry (MetaWindow *window, MetaRectangle *rect)
static Window read_client_leader (MetaDisplay *display, Window xwindow)
static gboolean find_client_leader_func (MetaWindow *ancestor, void *data)
static void redraw_icon (MetaWindow *window)
void meta_window_update_icon_now (MetaWindow *window)
GList * meta_window_get_workspaces (MetaWindow *window)
void meta_window_update_struts (MetaWindow *window)
void meta_window_recalc_window_type (MetaWindow *window)
static void set_allowed_actions_hint (MetaWindow *window)
void meta_window_recalc_features (MetaWindow *window)
static void menu_callback (MetaWindowMenu *menu, Display *xdisplay, Window client_xwindow, guint32 timestamp, MetaMenuOp op, int workspace_index, gpointer data)
void meta_window_show_menu (MetaWindow *window, int root_x, int root_y, int button, guint32 timestamp)
void meta_window_shove_titlebar_onscreen (MetaWindow *window)
gboolean meta_window_titlebar_is_onscreen (MetaWindow *window)
static double timeval_to_ms (const GTimeVal *timeval)
static double time_diff (const GTimeVal *first, const GTimeVal *second)
static gboolean check_moveresize_frequency (MetaWindow *window, gdouble *remaining)
static Bool find_last_time_predicate (Display *display, XEvent *xevent, XPointer arg)
static gboolean check_use_this_motion_notify (MetaWindow *window, XEvent *event)
void meta_window_handle_mouse_grab_op_event (MetaWindow *window, XEvent *event)
void meta_window_set_gravity (MetaWindow *window, int gravity)
static void get_work_area_xinerama (MetaWindow *window, MetaRectangle *area, int which_xinerama)
void meta_window_get_work_area_current_xinerama (MetaWindow *window, MetaRectangle *area)
void meta_window_get_work_area_for_xinerama (MetaWindow *window, int which_xinerama, MetaRectangle *area)
void meta_window_get_work_area_all_xineramas (MetaWindow *window, MetaRectangle *area)
gboolean meta_window_same_application (MetaWindow *window, MetaWindow *other_window)
void meta_window_refresh_resize_popup (MetaWindow *window)
void meta_window_foreach_transient (MetaWindow *window, MetaWindowForeachFunc func, void *data)
void meta_window_foreach_ancestor (MetaWindow *window, MetaWindowForeachFunc func, void *data)
static gboolean find_ancestor_func (MetaWindow *window, void *data)
gboolean meta_window_is_ancestor_of_transient (MetaWindow *window, MetaWindow *transient)
static gboolean warp_grab_pointer (MetaWindow *window, MetaGrabOp grab_op, int *x, int *y)
void meta_window_begin_grab_op (MetaWindow *window, MetaGrabOp op, gboolean frame_action, guint32 timestamp)
void meta_window_update_keyboard_resize (MetaWindow *window, gboolean update_cursor)
void meta_window_update_keyboard_move (MetaWindow *window)
void meta_window_update_layer (MetaWindow *window)
void meta_window_stack_just_below (MetaWindow *window, MetaWindow *below_this_one)
void meta_window_set_user_time (MetaWindow *window, guint32 timestamp)
void meta_window_set_demands_attention (MetaWindow *window)
void meta_window_unset_demands_attention (MetaWindow *window)
MetaFramemeta_window_get_frame (MetaWindow *window)
gboolean meta_window_has_focus (MetaWindow *window)
gboolean meta_window_is_shaded (MetaWindow *window)
MetaRectanglemeta_window_get_rect (MetaWindow *window)
MetaScreenmeta_window_get_screen (MetaWindow *window)
MetaDisplaymeta_window_get_display (MetaWindow *window)
Window meta_window_get_xwindow (MetaWindow *window)

Variables

static int destroying_windows_disallowed = 0
static guint queue_idle [NUMBER_OF_QUEUES] = {0, 0, 0}
static GSList * queue_pending [NUMBER_OF_QUEUES] = {NULL, NULL, NULL}
static const gchar * meta_window_queue_names [NUMBER_OF_QUEUES]


Define Documentation

#define _NET_WM_MOVERESIZE_MOVE   8

Definition at line 4689 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_MOVE_KEYBOARD   10

Definition at line 4691 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_BOTTOM   5

Definition at line 4686 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT   6

Definition at line 4687 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_BOTTOMRIGHT   4

Definition at line 4685 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_KEYBOARD   9

Definition at line 4690 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_LEFT   7

Definition at line 4688 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_RIGHT   3

Definition at line 4684 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_TOP   1

Definition at line 4682 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_TOPLEFT   0

Definition at line 4681 of file window.c.

Referenced by meta_window_client_message().

#define _NET_WM_MOVERESIZE_SIZE_TOPRIGHT   2

Definition at line 4683 of file window.c.

Referenced by meta_window_client_message().

#define DRAG_THRESHOLD_TO_SHAKE_THRESHOLD_FACTOR   6

Referenced by update_move().

#define MAX_N_ACTIONS   12

#define N_INITIAL_PROPS   18


Function Documentation

gboolean __window_is_terminal ( MetaWindow window  ) 

Definition at line 1887 of file window.c.

References FALSE, NULL, _MetaWindow::res_class, and TRUE.

Referenced by meta_window_set_user_time(), and window_state_on_map().

static void adjust_for_gravity ( MetaWindow window,
MetaFrameGeometry fgeom,
gboolean  coords_assume_border,
int  gravity,
MetaRectangle rect 
) [static]

static gboolean ancestor_is_minimized ( MetaWindow window  )  [static]

static gboolean change_workspace_foreach ( MetaWindow window,
void *  data 
) [static]

Definition at line 4126 of file window.c.

References meta_window_change_workspace_without_transients(), and TRUE.

Referenced by meta_window_change_workspace().

static gboolean check_moveresize_frequency ( MetaWindow window,
gdouble *  remaining 
) [static]

static gboolean check_use_this_motion_notify ( MetaWindow window,
XEvent *  event 
) [static]

static void ensure_mru_position_after ( MetaWindow window,
MetaWindow after_this_one 
) [static]

static void ensure_size_hints_satisfied ( MetaRectangle rect,
const XSizeHints *  size_hints 
) [static]

static gboolean find_ancestor_func ( MetaWindow window,
void *  data 
) [static]

static gboolean find_client_leader_func ( MetaWindow ancestor,
void *  data 
) [static]

static Bool find_last_time_predicate ( Display *  display,
XEvent *  xevent,
XPointer  arg 
) [static]

static gboolean find_root_ancestor ( MetaWindow window,
void *  data 
) [static]

Definition at line 4317 of file window.c.

References TRUE.

Referenced by meta_window_find_root_ancestor().

static void finish_minimize ( gpointer  data  )  [static]

static void force_save_user_window_placement ( MetaWindow window  )  [static]

Save the user_rect regardless of whether the window is maximized or fullscreen.

See save_user_window_placement() for most uses.

Parameters:
window Store current position of this window for future reference

Definition at line 2461 of file window.c.

References meta_window_get_client_root_coords(), and _MetaWindow::user_rect.

Referenced by meta_window_move_resize_internal().

static MetaWindow* get_modal_transient ( MetaWindow window  )  [static]

static void get_work_area_xinerama ( MetaWindow window,
MetaRectangle area,
int  which_xinerama 
) [static]

static gboolean idle_calc_showing ( gpointer  data  )  [static]

static gboolean idle_move_resize ( gpointer  data  )  [static]

static gboolean idle_update_icon ( gpointer  data  )  [static]

static void implement_showing ( MetaWindow window,
gboolean  showing 
) [static]

static gboolean intervening_user_event_occurred ( MetaWindow window  )  [static]

static void invalidate_work_areas ( MetaWindow window  )  [static]

static gboolean is_desktop_or_dock_foreach ( MetaWindow window,
void *  data 
) [static]

static gboolean is_minimized_foreach ( MetaWindow window,
void *  data 
) [static]

Definition at line 1306 of file window.c.

References FALSE, _MetaWindow::minimized, and TRUE.

Referenced by ancestor_is_minimized().

static void maybe_leave_show_desktop_mode ( MetaWindow window  )  [static]

static void menu_callback ( MetaWindowMenu menu,
Display *  xdisplay,
Window  client_xwindow,
guint32  timestamp,
MetaMenuOp  op,
int  workspace_index,
gpointer  data 
) [static]

void meta_window_activate ( MetaWindow window,
guint32  timestamp 
)

void meta_window_activate_with_workspace ( MetaWindow window,
guint32  timestamp,
MetaWorkspace workspace 
)

Definition at line 2931 of file window.c.

References META_CLIENT_TYPE_APPLICATION, and window_activate().

Referenced by reload_net_startup_id().

static void meta_window_apply_session_info ( MetaWindow window,
const MetaWindowSessionInfo info 
) [static]

void meta_window_begin_grab_op ( MetaWindow window,
MetaGrabOp  op,
gboolean  frame_action,
guint32  timestamp 
)

void meta_window_begin_wireframe ( MetaWindow window  ) 

void meta_window_calc_showing ( MetaWindow window  ) 

void meta_window_change_workspace ( MetaWindow window,
MetaWorkspace workspace 
)

static void meta_window_change_workspace_without_transients ( MetaWindow window,
MetaWorkspace workspace 
) [static]

gboolean meta_window_client_message ( MetaWindow window,
XEvent *  event 
)

Definition at line 4694 of file window.c.

References _NET_WM_MOVERESIZE_MOVE, _NET_WM_MOVERESIZE_MOVE_KEYBOARD, _NET_WM_MOVERESIZE_SIZE_BOTTOM, _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT, _NET_WM_MOVERESIZE_SIZE_BOTTOMRIGHT, _NET_WM_MOVERESIZE_SIZE_KEYBOARD, _NET_WM_MOVERESIZE_SIZE_LEFT, _NET_WM_MOVERESIZE_SIZE_RIGHT, _NET_WM_MOVERESIZE_SIZE_TOP, _NET_WM_MOVERESIZE_SIZE_TOPLEFT, _NET_WM_MOVERESIZE_SIZE_TOPRIGHT, _NET_WM_STATE_ADD, _NET_WM_STATE_TOGGLE, _MetaWindow::desc, _MetaWindow::display, FALSE, _MetaWindow::fullscreen, _MetaWindow::has_fullscreen_func, _MetaWindow::has_maximize_func, _MetaWindow::has_minimize_func, _MetaWindow::has_move_func, _MetaWindow::has_resize_func, _MetaWindow::has_shade_func, _MetaWindow::maximized_horizontally, _MetaWindow::maximized_vertically, META_CLIENT_TYPE_MAX_RECOGNIZED, META_CLIENT_TYPE_UNKNOWN, META_DEBUG_WINDOW_OPS, meta_display_begin_grab_op(), meta_display_get_current_time(), meta_display_get_current_time_roundtrip(), meta_error_trap_pop(), meta_error_trap_pop_with_return(), meta_error_trap_push(), meta_error_trap_push_with_return(), META_GRAB_OP_KEYBOARD_MOVING, META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN, META_GRAB_OP_MOVING, META_GRAB_OP_NONE, META_GRAB_OP_RESIZING_E, META_GRAB_OP_RESIZING_N, META_GRAB_OP_RESIZING_NE, META_GRAB_OP_RESIZING_NW, META_GRAB_OP_RESIZING_S, META_GRAB_OP_RESIZING_SE, META_GRAB_OP_RESIZING_SW, META_GRAB_OP_RESIZING_W, meta_is_verbose(), META_MAXIMIZE_HORIZONTAL, META_MAXIMIZE_VERTICAL, meta_prefs_get_raise_on_click(), META_QUEUE_MOVE_RESIZE, meta_screen_get_workspace_by_index(), meta_warning(), meta_window_begin_grab_op(), meta_window_change_workspace(), meta_window_delete(), meta_window_make_fullscreen(), meta_window_maximize(), meta_window_minimize(), meta_window_move_resize_request(), meta_window_queue(), meta_window_raise(), meta_window_set_demands_attention(), meta_window_shade(), meta_window_stick(), meta_window_unmake_fullscreen(), meta_window_unmaximize(), meta_window_unset_demands_attention(), meta_window_unshade(), meta_window_unstick(), meta_window_update_layer(), meta_XFree, NULL, _MetaWindow::on_all_workspaces, recalc_window_features(), recalc_window_type(), _MetaWindow::screen, set_net_wm_state(), _MetaWindow::shaded, _MetaWindow::size_hints, _MetaWindow::skip_pager, _MetaWindow::skip_taskbar, TRUE, window_activate(), _MetaWindow::wm_state_above, _MetaWindow::wm_state_below, _MetaWindow::wm_state_demands_attention, _MetaWindow::wm_state_modal, _MetaWindow::wm_state_skip_pager, _MetaWindow::wm_state_skip_taskbar, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by event_callback().

gboolean meta_window_configure_request ( MetaWindow window,
XEvent *  event 
)

void meta_window_end_wireframe ( MetaWindow window  ) 

MetaWindow* meta_window_find_root_ancestor ( MetaWindow window  ) 

Definition at line 4332 of file window.c.

References find_root_ancestor(), and meta_window_foreach_ancestor().

Referenced by meta_window_compute_group(), and meta_window_raise().

static void meta_window_flush_calc_showing ( MetaWindow window  )  [static]

void meta_window_focus ( MetaWindow window,
guint32  timestamp 
)

void meta_window_foreach_ancestor ( MetaWindow window,
MetaWindowForeachFunc  func,
void *  data 
)

void meta_window_foreach_transient ( MetaWindow window,
MetaWindowForeachFunc  func,
void *  data 
)

void meta_window_free ( MetaWindow window,
guint32  timestamp 
)

Definition at line 967 of file window.c.

References _MetaScreen::active_workspace, _MetaWindow::border_width, _MetaDisplay::compositor, _MetaWindow::desc, destroying_windows_disallowed, _MetaWindow::display, _MetaDisplay::expected_focus_window, FALSE, _MetaWindow::frame, _MetaWindow::fullscreen, _MetaDisplay::grab_window, _MetaWindow::has_focus, _MetaWindow::icon, _MetaWindow::icon_cache, _MetaWindow::icon_name, invalidate_work_areas(), _MetaWindow::maximized_horizontally, _MetaWindow::maximized_vertically, meta_bug(), meta_compositor_free_window(), meta_compositor_set_active_window(), META_DEBUG_FOCUS, META_DEBUG_WORKAREA, meta_display_end_grab_op(), META_DISPLAY_HAS_SHAPE, meta_display_ungrab_focus_window_button(), meta_display_ungrab_window_buttons(), meta_display_unregister_x_window(), meta_error_trap_pop(), meta_error_trap_push(), meta_free_gslist_and_elements(), meta_group_update_layers(), meta_icon_cache_free(), META_QUEUE_CALC_SHOWING, META_QUEUE_MOVE_RESIZE, META_QUEUE_UPDATE_ICON, meta_stack_freeze(), meta_stack_remove(), meta_stack_thaw(), meta_ui_window_menu_free(), meta_window_destroy_frame(), meta_window_free_delete_dialog(), meta_window_get_group(), meta_window_shutdown_group(), meta_window_ungrab_keys(), meta_window_unqueue(), meta_workspace_focus_default_window(), meta_workspace_remove_window(), _MetaWindow::mini_icon, _MetaWindow::minimized, _MetaWorkspace::mru_list, NULL, _MetaWindow::res_class, _MetaWindow::res_name, _MetaWindow::role, _MetaWindow::screen, send_configure_notify(), set_wm_state(), _MetaWindow::sm_client_id, _MetaScreen::stack, _MetaWindow::startup_id, _MetaWindow::struts, _MetaWindow::title, TRUE, _MetaWindow::unmanaging, unmaximize_window_before_freeing(), _MetaWindow::user_time_window, _MetaDisplay::window_menu, _MetaDisplay::window_with_menu, _MetaWorkspace::windows, _MetaWindow::withdrawn, _MetaWindow::wm_client_machine, _MetaWindow::workspace, _MetaScreen::workspaces, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by event_callback(), and meta_display_unmanage_windows_for_screen().

void meta_window_get_client_root_coords ( MetaWindow window,
MetaRectangle rect 
)

MetaDisplay* meta_window_get_display ( MetaWindow window  ) 

Definition at line 8165 of file window.c.

References _MetaWindow::display.

Referenced by xrender_get_window_pixmap().

MetaFrame* meta_window_get_frame ( MetaWindow window  ) 

void meta_window_get_geometry ( MetaWindow window,
int *  x,
int *  y,
int *  width,
int *  height 
)

void meta_window_get_gravity_position ( MetaWindow window,
int  gravity,
int *  root_x,
int *  root_y 
)

gboolean meta_window_get_icon_geometry ( MetaWindow window,
MetaRectangle rect 
)

unsigned long meta_window_get_net_wm_desktop ( MetaWindow window  ) 

void meta_window_get_outer_rect ( const MetaWindow window,
MetaRectangle rect 
)

void meta_window_get_position ( MetaWindow window,
int *  x,
int *  y 
)

MetaRectangle* meta_window_get_rect ( MetaWindow window  ) 

Definition at line 8153 of file window.c.

References _MetaWindow::rect.

Referenced by process_configure_notify().

MetaScreen* meta_window_get_screen ( MetaWindow window  ) 

Definition at line 8159 of file window.c.

References _MetaWindow::screen.

Referenced by xrender_get_window_pixmap().

const char* meta_window_get_startup_id ( MetaWindow window  ) 

static void meta_window_get_wireframe_geometry ( MetaWindow window,
int *  width,
int *  height 
) [static]

void meta_window_get_work_area_all_xineramas ( MetaWindow window,
MetaRectangle area 
)

void meta_window_get_work_area_current_xinerama ( MetaWindow window,
MetaRectangle area 
)

void meta_window_get_work_area_for_xinerama ( MetaWindow window,
int  which_xinerama,
MetaRectangle area 
)

GList* meta_window_get_workspaces ( MetaWindow window  ) 

void meta_window_get_xor_rect ( MetaWindow window,
const MetaRectangle grab_wireframe_rect,
MetaRectangle xor_rect 
)

Window meta_window_get_xwindow ( MetaWindow window  ) 

Definition at line 8171 of file window.c.

References _MetaWindow::xwindow.

Referenced by xrender_get_window_pixmap(), and xrender_set_active_window().

void meta_window_handle_mouse_grab_op_event ( MetaWindow window,
XEvent *  event 
)

gboolean meta_window_has_focus ( MetaWindow window  ) 

Definition at line 8141 of file window.c.

References _MetaWindow::has_focus.

Referenced by add_win().

static void meta_window_hide ( MetaWindow window  )  [static]

gboolean meta_window_is_ancestor_of_transient ( MetaWindow window,
MetaWindow transient 
)

gboolean meta_window_is_shaded ( MetaWindow window  ) 

Definition at line 8147 of file window.c.

References _MetaWindow::shaded.

Referenced by resize_win(), and xrender_get_window_pixmap().

gboolean meta_window_located_on_workspace ( MetaWindow window,
MetaWorkspace workspace 
)

void meta_window_lower ( MetaWindow window  ) 

void meta_window_make_above ( MetaWindow window  ) 

void meta_window_make_fullscreen ( MetaWindow window  ) 

void meta_window_make_fullscreen_internal ( MetaWindow window  ) 

void meta_window_maximize ( MetaWindow window,
MetaMaximizeFlags  directions 
)

void meta_window_maximize_internal ( MetaWindow window,
MetaMaximizeFlags  directions,
MetaRectangle saved_rect 
)

void meta_window_minimize ( MetaWindow window  ) 

void meta_window_move ( MetaWindow window,
gboolean  user_op,
int  root_x_nw,
int  root_y_nw 
)

void meta_window_move_resize ( MetaWindow window,
gboolean  user_op,
int  root_x_nw,
int  root_y_nw,
int  w,
int  h 
)

static void meta_window_move_resize_internal ( MetaWindow window,
MetaMoveResizeFlags  flags,
int  resize_gravity,
int  root_x_nw,
int  root_y_nw,
int  w,
int  h 
) [static]

Definition at line 3119 of file window.c.

References adjust_for_gravity(), _MetaWindow::border_width, _MetaFrame::bottom_height, _MetaFrameGeometry::bottom_height, _MetaFrame::child_x, _MetaFrame::child_y, _MetaDisplay::compositor, _MetaWindow::constructing, _MetaWindow::desc, _MetaWindow::display, FALSE, force_save_user_window_placement(), _MetaWindow::frame, _MetaDisplay::grab_wireframe_active, _MetaRectangle::height, _MetaFrameGeometry::left_width, meta_compositor_set_updates(), META_DEBUG_GEOMETRY, META_DO_GRAVITY_ADJUST, meta_error_trap_pop(), meta_error_trap_push(), meta_frame_calc_geometry(), meta_frame_sync_to_window(), META_IS_CONFIGURE_REQUEST, META_IS_MOVE_ACTION, META_IS_RESIZE_ACTION, META_IS_USER_ACTION, META_QUEUE_MOVE_RESIZE, meta_rectangle_resize_with_gravity(), meta_window_constrain(), meta_window_get_client_root_coords(), meta_window_get_position(), meta_window_refresh_resize_popup(), meta_window_set_gravity(), meta_window_unqueue(), meta_window_update_wireframe(), NULL, _MetaWindow::placed, _MetaFrame::rect, _MetaWindow::rect, _MetaFrame::right_width, _MetaFrameGeometry::right_width, save_user_window_placement(), send_configure_notify(), send_sync_request(), _MetaWindow::shaded, _MetaWindow::size_hints, static_gravity_works(), _MetaWindow::sync_request_counter, _MetaWindow::sync_request_time, _MetaFrameGeometry::top_height, TRUE, update_net_frame_extents(), _MetaWindow::user_rect, _MetaRectangle::width, _MetaRectangle::x, _MetaDisplay::xdisplay, _MetaWindow::xwindow, and _MetaRectangle::y.

Referenced by meta_window_apply_session_info(), meta_window_move(), meta_window_move_resize(), meta_window_move_resize_request(), meta_window_new_with_attrs(), meta_window_resize(), and meta_window_resize_with_gravity().

static void meta_window_move_resize_now ( MetaWindow window  )  [static]

void meta_window_move_resize_request ( MetaWindow window,
guint  value_mask,
int  gravity,
int  new_x,
int  new_y,
int  new_width,
int  new_height 
)

MetaWindow* meta_window_new ( MetaDisplay display,
Window  xwindow,
gboolean  must_be_viewable 
)

MetaWindow* meta_window_new_with_attrs ( MetaDisplay display,
Window  xwindow,
gboolean  must_be_viewable,
XWindowAttributes *  attrs 
)

Definition at line 241 of file window.c.

References _MetaScreen::active_workspace, _MetaWindow::all_keys_grabbed, _MetaWindow::always_sticky, _MetaWindow::border_width, _MetaWindow::calc_placement, _MetaWindow::colormap, _MetaWindow::constructing, _MetaWindow::decorated, _MetaWindow::denied_focus_and_not_transient, _MetaWindow::depth, _MetaWindow::desc, _MetaWindow::dialog_pid, _MetaWindow::dialog_pipe, _MetaWindow::disable_sync, _MetaWindow::display, _MetaDisplay::display_opening, FALSE, _MetaWindow::frame, _MetaWindow::fullscreen, _MetaWindow::grab_on_frame, _MetaWindow::group, _MetaWindow::has_close_func, _MetaWindow::has_focus, _MetaWindow::has_fullscreen_func, _MetaWindow::has_maximize_func, _MetaWindow::has_minimize_func, _MetaWindow::has_move_func, _MetaWindow::has_resize_func, _MetaWindow::has_shade_func, _MetaWindow::has_shape, _MetaWindow::have_focus_click_grab, _MetaRectangle::height, _MetaWindow::icon, _MetaWindow::icon_cache, _MetaWindow::icon_name, _MetaWindow::iconic, _MetaWindow::initial_timestamp, _MetaWindow::initial_timestamp_set, _MetaWindow::initial_workspace, _MetaWindow::initial_workspace_set, _MetaWindow::initially_iconic, _MetaWindow::is_in_queues, _MetaWindow::keys_grabbed, _MetaWindow::layer, _MetaWindow::mapped, _MetaWindow::maximize_horizontally_after_placement, _MetaWindow::maximize_vertically_after_placement, _MetaWindow::maximized_horizontally, _MetaWindow::maximized_vertically, maybe_leave_show_desktop_mode(), META_DEBUG_PLACEMENT, META_DEBUG_SHAPES, meta_display_get_current_time_roundtrip(), meta_display_grab(), meta_display_grab_focus_window_button(), meta_display_grab_window_buttons(), META_DISPLAY_HAS_SHAPE, meta_display_lookup_x_window(), meta_display_register_x_window(), meta_display_ungrab(), meta_display_xwindow_is_a_no_focus_window(), meta_error_trap_pop(), meta_error_trap_pop_with_return(), meta_error_trap_push(), meta_error_trap_push_with_return(), meta_icon_cache_init(), META_IS_CONFIGURE_REQUEST, META_IS_MOVE_ACTION, META_IS_RESIZE_ACTION, META_LAYER_LAST, meta_prop_get_cardinal_with_atom_type(), META_QUEUE_CALC_SHOWING, meta_screen_apply_startup_properties(), meta_screen_get_workspace_by_index(), meta_set_normal_hints(), meta_stack_add(), meta_stack_freeze(), meta_stack_thaw(), meta_window_apply_session_info(), meta_window_compute_group(), META_WINDOW_DESKTOP, META_WINDOW_DOCK, meta_window_ensure_frame(), meta_window_foreach_transient(), meta_window_grab_keys(), meta_window_lookup_saved_state(), meta_window_move_resize_internal(), META_WINDOW_NORMAL, meta_window_queue(), meta_window_release_saved_state(), meta_window_reload_properties(), meta_window_set_current_workspace_hint(), meta_window_set_user_time(), meta_window_update_icon_now(), meta_window_update_struts(), meta_workspace_add_window(), _MetaWindow::mini_icon, _MetaWindow::minimize_after_placement, _MetaWindow::minimized, _MetaWindow::mwm_border_only, _MetaWindow::mwm_decorated, _MetaWindow::mwm_has_close_func, _MetaWindow::mwm_has_maximize_func, _MetaWindow::mwm_has_minimize_func, _MetaWindow::mwm_has_move_func, _MetaWindow::mwm_has_resize_func, N_INITIAL_PROPS, _MetaWindow::need_reread_icon, _MetaWindow::net_wm_pid, _MetaWindow::net_wm_user_time, _MetaWindow::net_wm_user_time_set, NULL, _MetaWindow::on_all_workspaces, _MetaWindow::placed, queue_calc_showing_func(), _MetaWindow::rect, _MetaWindow::require_fully_onscreen, _MetaWindow::require_on_single_xinerama, _MetaWindow::require_titlebar_visible, _MetaWindow::res_class, _MetaWindow::res_name, _MetaWindow::role, _MetaWindow::saved_rect, _MetaWindow::screen, _MetaDisplay::screens, set_net_wm_state(), set_wm_state(), _MetaWindow::shaded, _MetaWindow::shaken_loose, _MetaWindow::showing_for_first_time, _MetaWindow::size_hints, _MetaWindow::skip_pager, _MetaWindow::skip_taskbar, _MetaWindow::sm_client_id, _MetaScreen::stack, _MetaWindow::stack_position, _MetaWindow::startup_id, _MetaWindow::struts, _MetaWindow::sync_request_counter, _MetaWindow::sync_request_serial, _MetaWindow::sync_request_time, _MetaWindow::tab_unminimized, _MetaWindow::title, _MetaWindow::transient_parent_is_root_window, TRUE, _MetaWindow::type, _MetaWindow::type_atom, _MetaWindow::unmanaging, _MetaWindow::unmaps_pending, unminimize_window_and_all_transient_parents(), update_net_wm_type(), update_role(), update_sm_hints(), _MetaWindow::user_rect, _MetaWindow::user_time_window, _MetaWindow::using_net_wm_icon_name, _MetaWindow::using_net_wm_name, _MetaWindow::using_net_wm_visible_icon_name, _MetaWindow::using_net_wm_visible_name, _MetaWindow::was_minimized, _MetaRectangle::width, _MetaWindow::withdrawn, _MetaWindow::wm_client_machine, _MetaWindow::wm_hints_mask, _MetaWindow::wm_hints_pixmap, _MetaWindow::wm_state_above, _MetaWindow::wm_state_below, _MetaWindow::wm_state_demands_attention, _MetaWindow::wm_state_modal, _MetaWindow::wm_state_skip_pager, _MetaWindow::wm_state_skip_taskbar, wm_state_to_string(), _MetaWindow::workspace, _MetaRectangle::x, _MetaWindow::xclient_leader, _MetaDisplay::xdisplay, _MetaWindow::xgroup_leader, _MetaScreen::xroot, _MetaWindow::xtransient_for, _MetaWindow::xvisual, _MetaWindow::xwindow, and _MetaRectangle::y.

Referenced by meta_screen_manage_all_windows(), and meta_window_new().

gboolean meta_window_notify_focus ( MetaWindow window,
XEvent *  event 
)

gboolean meta_window_property_notify ( MetaWindow window,
XEvent *  event 
)

Definition at line 4675 of file window.c.

References process_property_notify().

Referenced by event_callback().

void meta_window_queue ( MetaWindow window,
guint  queuebits 
)

void meta_window_raise ( MetaWindow window  ) 

void meta_window_recalc_features ( MetaWindow window  ) 

Definition at line 6183 of file window.c.

References recalc_window_features().

Referenced by meta_screen_resize_func(), reload_mwm_hints(), and reload_normal_hints().

void meta_window_recalc_window_type ( MetaWindow window  ) 

Definition at line 6042 of file window.c.

References recalc_window_type().

Referenced by reload_net_wm_state(), and reload_transient_for().

void meta_window_refresh_resize_popup ( MetaWindow window  ) 

void meta_window_resize ( MetaWindow window,
gboolean  user_op,
int  w,
int  h 
)

void meta_window_resize_with_gravity ( MetaWindow window,
gboolean  user_op,
int  w,
int  h,
int  gravity 
)

gboolean meta_window_same_application ( MetaWindow window,
MetaWindow other_window 
)

static void meta_window_save_rect ( MetaWindow window  )  [static]

void meta_window_send_icccm_message ( MetaWindow window,
Atom  atom,
guint32  timestamp 
)

void meta_window_set_current_workspace_hint ( MetaWindow window  ) 

void meta_window_set_demands_attention ( MetaWindow window  ) 

void meta_window_set_gravity ( MetaWindow window,
int  gravity 
)

void meta_window_set_user_time ( MetaWindow window,
guint32  timestamp 
)

void meta_window_shade ( MetaWindow window,
guint32  timestamp 
)

gboolean meta_window_should_be_showing ( MetaWindow window  ) 

void meta_window_shove_titlebar_onscreen ( MetaWindow window  ) 

void meta_window_show ( MetaWindow window  )  [static]

void meta_window_show_menu ( MetaWindow window,
int  root_x,
int  root_y,
int  button,
guint32  timestamp 
)

Definition at line 6534 of file window.c.

References _MetaScreen::active_workspace, _MetaWindow::always_sticky, MetaWorkspaceLayout::cols, MetaWorkspaceLayout::current_col, MetaWorkspaceLayout::current_row, _MetaWindow::desc, _MetaWindow::display, _MetaWindow::has_close_func, _MetaWindow::has_maximize_func, _MetaWindow::has_minimize_func, _MetaWindow::has_shade_func, menu_callback(), META_MENU_OP_ABOVE, META_MENU_OP_DELETE, META_MENU_OP_MAXIMIZE, META_MENU_OP_MINIMIZE, META_MENU_OP_MOVE, META_MENU_OP_MOVE_DOWN, META_MENU_OP_MOVE_LEFT, META_MENU_OP_MOVE_RIGHT, META_MENU_OP_MOVE_UP, META_MENU_OP_RECOVER, META_MENU_OP_RESIZE, META_MENU_OP_SHADE, META_MENU_OP_STICK, META_MENU_OP_UNABOVE, META_MENU_OP_UNMAXIMIZE, META_MENU_OP_UNSHADE, META_MENU_OP_UNSTICK, META_MENU_OP_WORKSPACES, meta_screen_calc_workspace_layout(), meta_screen_free_workspace_layout(), meta_screen_get_n_workspaces(), META_UI_DIRECTION_LTR, meta_ui_get_direction(), meta_ui_window_menu_free(), meta_ui_window_menu_new(), meta_ui_window_menu_popup(), META_WINDOW_ALLOWS_MOVE, META_WINDOW_ALLOWS_RESIZE, META_WINDOW_DESKTOP, META_WINDOW_DOCK, meta_window_get_net_wm_desktop(), META_WINDOW_MAXIMIZED, META_WINDOW_SPLASHSCREEN, meta_window_titlebar_is_onscreen(), meta_workspace_index(), NULL, _MetaWindow::on_all_workspaces, MetaWorkspaceLayout::rows, _MetaWindow::screen, _MetaWindow::shaded, _MetaWindow::type, _MetaScreen::ui, _MetaDisplay::window_menu, _MetaDisplay::window_with_menu, _MetaWindow::wm_state_above, and _MetaWindow::xwindow.

Referenced by event_callback(), handle_activate_menu(), and meta_core_show_window_menu().

gboolean meta_window_showing_on_its_workspace ( MetaWindow window  ) 

void meta_window_stack_just_below ( MetaWindow window,
MetaWindow below_this_one 
)

void meta_window_stick ( MetaWindow window  ) 

gboolean meta_window_titlebar_is_onscreen ( MetaWindow window  ) 

void meta_window_unmake_above ( MetaWindow window  ) 

void meta_window_unmake_fullscreen ( MetaWindow window  ) 

void meta_window_unmaximize ( MetaWindow window,
MetaMaximizeFlags  directions 
)

void meta_window_unminimize ( MetaWindow window  ) 

static void meta_window_unqueue ( MetaWindow window,
guint  queuebits 
) [static]

void meta_window_unset_demands_attention ( MetaWindow window  ) 

void meta_window_unshade ( MetaWindow window,
guint32  timestamp 
)

void meta_window_unstick ( MetaWindow window  ) 

void meta_window_update_icon_now ( MetaWindow window  ) 

void meta_window_update_keyboard_move ( MetaWindow window  ) 

Definition at line 7938 of file window.c.

References _MetaWindow::display, _MetaDisplay::grab_op, and warp_grab_pointer().

Referenced by process_keyboard_move_grab().

void meta_window_update_keyboard_resize ( MetaWindow window,
gboolean  update_cursor 
)

void meta_window_update_layer ( MetaWindow window  ) 

void meta_window_update_struts ( MetaWindow window  ) 

void meta_window_update_wireframe ( MetaWindow window,
int  x,
int  y,
int  width,
int  height 
)

static gboolean process_property_notify ( MetaWindow window,
XPropertyEvent *  event 
) [static]

static gboolean queue_calc_showing_func ( MetaWindow window,
void *  data 
) [static]

static Window read_client_leader ( MetaDisplay display,
Window  xwindow 
) [static]

Definition at line 5579 of file window.c.

References meta_prop_get_window().

Referenced by find_client_leader_func(), and update_sm_hints().

static void recalc_window_features ( MetaWindow window  )  [static]

static void recalc_window_type ( MetaWindow window  )  [static]

static void redraw_icon ( MetaWindow window  )  [static]

static void save_user_window_placement ( MetaWindow window  )  [static]

Save the user_rect, but only if the window is neither maximized nor fullscreen, otherwise the window may snap back to those dimensions (bug #461927).

Parameters:
window Store current position of this window for future reference

Definition at line 2474 of file window.c.

References _MetaWindow::fullscreen, _MetaRectangle::height, _MetaWindow::maximized_horizontally, _MetaWindow::maximized_vertically, meta_window_get_client_root_coords(), META_WINDOW_MAXIMIZED, _MetaWindow::user_rect, _MetaRectangle::width, _MetaRectangle::x, and _MetaRectangle::y.

Referenced by meta_window_move_resize_internal(), and meta_window_move_resize_request().

static void send_configure_notify ( MetaWindow window  )  [static]

static void send_sync_request ( MetaWindow window  )  [static]

static void set_allowed_actions_hint ( MetaWindow window  )  [static]

static void set_net_wm_state ( MetaWindow window  )  [static]

static void set_wm_state ( MetaWindow window,
int  state 
) [static]

static int stackcmp ( gconstpointer  a,
gconstpointer  b 
) [static]

Definition at line 1506 of file window.c.

References meta_stack_windows_cmp(), _MetaWindow::screen, and _MetaScreen::stack.

Referenced by idle_calc_showing().

static gboolean static_gravity_works ( MetaDisplay display  )  [static]

Definition at line 3078 of file window.c.

References _MetaDisplay::static_gravity_works.

Referenced by meta_window_move_resize_internal().

static gboolean stick_foreach_func ( MetaWindow window,
void *  data 
) [static]

Definition at line 4217 of file window.c.

References TRUE, window_stick_impl(), and window_unstick_impl().

Referenced by meta_window_stick(), and meta_window_unstick().

static double time_diff ( const GTimeVal *  first,
const GTimeVal *  second 
) [static]

Definition at line 6761 of file window.c.

References timeval_to_ms().

Referenced by check_moveresize_frequency().

static double timeval_to_ms ( const GTimeVal *  timeval  )  [static]

Definition at line 6755 of file window.c.

Referenced by time_diff().

static void unmaximize_window_before_freeing ( MetaWindow window  )  [static]

static gboolean unminimize_func ( MetaWindow window,
void *  data 
) [static]

Definition at line 2835 of file window.c.

References meta_window_unminimize(), and TRUE.

Referenced by unminimize_window_and_all_transient_parents().

static void unminimize_window_and_all_transient_parents ( MetaWindow window  )  [static]

static void update_move ( MetaWindow window,
gboolean  snap,
int  x,
int  y 
) [static]

static gboolean update_move_timeout ( gpointer  data  )  [static]

static void update_net_frame_extents ( MetaWindow window  )  [static]

static void update_net_wm_type ( MetaWindow window  )  [static]

static void update_resize ( MetaWindow window,
gboolean  snap,
int  x,
int  y,
gboolean  force 
) [static]

static gboolean update_resize_timeout ( gpointer  data  )  [static]

static void update_role ( MetaWindow window  )  [static]

static void update_sm_hints ( MetaWindow window  )  [static]

static gboolean warp_grab_pointer ( MetaWindow window,
MetaGrabOp  grab_op,
int *  x,
int *  y 
) [static]

static void window_activate ( MetaWindow window,
guint32  timestamp,
MetaClientType  source_indication,
MetaWorkspace workspace 
) [static]

static void window_state_on_map ( MetaWindow window,
gboolean *  takes_focus,
gboolean *  places_on_top 
) [static]

static void window_stick_impl ( MetaWindow window  )  [static]

static void window_unstick_impl ( MetaWindow window  )  [static]

static gboolean window_would_be_covered ( const MetaWindow newbie  )  [static]

static gboolean windows_overlap ( const MetaWindow w1,
const MetaWindow w2 
) [static]

Definition at line 1996 of file window.c.

References meta_rectangle_overlap(), and meta_window_get_outer_rect().

Referenced by meta_window_show(), and window_would_be_covered().

static const char* wm_state_to_string ( int  state  )  [static]

Definition at line 133 of file window.c.

Referenced by meta_window_new_with_attrs(), and set_wm_state().


Variable Documentation

Definition at line 56 of file window.c.

Referenced by idle_calc_showing(), idle_move_resize(), idle_update_icon(), and meta_window_free().

const gchar* meta_window_queue_names[NUMBER_OF_QUEUES] [static]

Initial value:

  {"calc_showing", "move_resize", "update_icon"}

Definition at line 1668 of file window.c.

Referenced by meta_window_queue(), and meta_window_unqueue().

guint queue_idle[NUMBER_OF_QUEUES] = {0, 0, 0} [static]

GSList* queue_pending[NUMBER_OF_QUEUES] = {NULL, NULL, NULL} [static]


Generated on Sat Aug 23 22:04:22 2008 for metacity by  doxygen 1.5.5