marco 1.29.1
Window manager
Loading...
Searching...
No Matches
window-private.h File Reference
View source

Windows which Marco manages. More...

#include <config.h>
#include "window.h"
#include "screen-private.h"
#include "util.h"
#include "stack.h"
#include "iconcache.h"
#include <X11/Xutil.h>
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
Include dependency graph for window-private.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  _MetaWindow
 

Macros

#define NUMBER_OF_QUEUES   3
 
#define META_WINDOW_MAXIMIZED(w)
 
#define META_WINDOW_MAXIMIZED_VERTICALLY(w)   ((w)->maximized_vertically)
 
#define META_WINDOW_MAXIMIZED_HORIZONTALLY(w)   ((w)->maximized_horizontally)
 
#define META_WINDOW_SIDE_TILED(w)
 
#define META_WINDOW_TILED_LEFT(w)
 
#define META_WINDOW_TILED_RIGHT(w)
 
#define META_WINDOW_CORNER_TILED(w)
 
#define META_WINDOW_TILED(w)   (META_WINDOW_SIDE_TILED(w) || META_WINDOW_CORNER_TILED(w))
 
#define META_WINDOW_ALLOWS_MOVE(w)   ((w)->has_move_func && !(w)->fullscreen)
 
#define META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS(w)   ((w)->has_resize_func && !META_WINDOW_MAXIMIZED (w) && !(w)->fullscreen && !(w)->shaded)
 
#define META_WINDOW_ALLOWS_RESIZE(w)
 
#define META_WINDOW_ALLOWS_HORIZONTAL_RESIZE(w)   (META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS (w) && (w)->size_hints.min_width < (w)->size_hints.max_width)
 
#define META_WINDOW_ALLOWS_VERTICAL_RESIZE(w)   (META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS (w) && !META_WINDOW_SIDE_TILED(w) && (w)->size_hints.min_height < (w)->size_hints.max_height)
 
#define META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE(w)    ((w)->type != META_WINDOW_DOCK && (w)->type != META_WINDOW_DESKTOP)
 
#define META_WINDOW_IN_NORMAL_TAB_CHAIN(w)    (((w)->input || (w)->take_focus ) && META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) && (!(w)->skip_taskbar))
 
#define META_WINDOW_IN_DOCK_TAB_CHAIN(w)    (((w)->input || (w)->take_focus) && (! META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) || (w)->skip_taskbar))
 
#define META_WINDOW_IN_GROUP_TAB_CHAIN(w, g)    (((w)->input || (w)->take_focus) && (!g || meta_window_get_group(w)==g))
 

Typedefs

typedef struct _MetaGroup MetaGroup
 
typedef struct _MetaWindowQueue MetaWindowQueue
 
typedef gboolean(* MetaWindowForeachFunc) (MetaWindow *window, void *data)
 

Enumerations

enum  MetaWindowType {
  META_WINDOW_NORMAL , META_WINDOW_DESKTOP , META_WINDOW_DOCK , META_WINDOW_DIALOG ,
  META_WINDOW_MODAL_DIALOG , META_WINDOW_TOOLBAR , META_WINDOW_MENU , META_WINDOW_UTILITY ,
  META_WINDOW_SPLASHSCREEN
}
 
enum  MetaMaximizeFlags { META_MAXIMIZE_HORIZONTAL = 1 << 0 , META_MAXIMIZE_VERTICAL = 1 << 1 }
 
enum  MetaClientType { META_CLIENT_TYPE_UNKNOWN = 0 , META_CLIENT_TYPE_APPLICATION = 1 , META_CLIENT_TYPE_PAGER = 2 , META_CLIENT_TYPE_MAX_RECOGNIZED = 2 }
 
enum  MetaQueueType { META_QUEUE_CALC_SHOWING = 1 << 0 , META_QUEUE_MOVE_RESIZE = 1 << 1 , META_QUEUE_UPDATE_ICON = 1 << 2 }
 
enum  MetaTileCycle {
  META_TILE_CYCLE_NONE , META_TILE_CYCLE_50 , META_TILE_CYCLE_33 , META_TILE_CYCLE_25 ,
  META_TILE_CYCLE_100 , META_TILE_CYCLE_75 , META_TILE_CYCLE_66
}
 

Functions

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)
 
void meta_window_free (MetaWindow *window, guint32 timestamp)
 
void meta_window_calc_showing (MetaWindow *window)
 
void meta_window_queue (MetaWindow *window, guint queuebits)
 
void meta_window_tile (MetaWindow *window)
 
void meta_window_untile (MetaWindow *window)
 
void meta_window_minimize (MetaWindow *window)
 
void meta_window_unminimize (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_unmaximize (MetaWindow *window, MetaMaximizeFlags directions)
 
void meta_window_move_to_monitor (MetaWindow *window, const MetaXineramaScreenInfo *from_monitor, const MetaXineramaScreenInfo *to_monitor)
 
void meta_window_make_above (MetaWindow *window)
 
void meta_window_unmake_above (MetaWindow *window)
 
void meta_window_shade (MetaWindow *window, guint32 timestamp)
 
void meta_window_unshade (MetaWindow *window, guint32 timestamp)
 
void meta_window_change_workspace (MetaWindow *window, MetaWorkspace *workspace)
 
void meta_window_stick (MetaWindow *window)
 
void meta_window_unstick (MetaWindow *window)
 
void meta_window_activate (MetaWindow *window, guint32 current_time)
 
void meta_window_activate_with_workspace (MetaWindow *window, guint32 current_time, MetaWorkspace *workspace)
 
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_update_fullscreen_monitors (MetaWindow *window, unsigned long top, unsigned long bottom, unsigned long left, unsigned long right)
 
gboolean meta_window_appears_focused (MetaWindow *window)
 
void meta_window_move (MetaWindow *window, gboolean user_op, int root_x_nw, int root_y_nw)
 
void meta_window_resize (MetaWindow *window, gboolean user_op, int w, int h)
 
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)
 
gboolean meta_window_showing_on_its_workspace (MetaWindow *window)
 
gboolean meta_window_should_be_showing (MetaWindow *window)
 
gboolean __window_is_terminal (MetaWindow *window)
 
void meta_window_update_struts (MetaWindow *window)
 
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 *x, int *y)
 
void meta_window_get_geometry (MetaWindow *window, int *x, int *y, int *width, int *height)
 
void meta_window_get_input_rect (const MetaWindow *window, MetaRectangle *rect)
 meta_window_get_input_rect: @window: a MetaWindow @rect: (out): pointer to an allocated MetaRectangle
 
void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect)
 meta_window_get_outer_rect: @window: a MetaWindow @rect: (out): pointer to an allocated MetaRectangle
 
void meta_window_get_xor_rect (MetaWindow *window, const MetaRectangle *grab_wireframe_rect, MetaRectangle *xor_rect)
 
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)
 
void meta_window_delete (MetaWindow *window, guint32 timestamp)
 
void meta_window_kill (MetaWindow *window)
 
void meta_window_focus (MetaWindow *window, guint32 timestamp)
 
void meta_window_raise (MetaWindow *window)
 
void meta_window_lower (MetaWindow *window)
 
void meta_window_update_unfocused_button_grabs (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 x, int y, int width, int 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)
 
void meta_window_set_current_workspace_hint (MetaWindow *window)
 
unsigned long meta_window_get_net_wm_desktop (MetaWindow *window)
 
void meta_window_show_menu (MetaWindow *window, int root_x, int root_y, int button, guint32 timestamp)
 
gboolean meta_window_titlebar_is_onscreen (MetaWindow *window)
 
void meta_window_shove_titlebar_onscreen (MetaWindow *window)
 
void meta_window_set_gravity (MetaWindow *window, int gravity)
 
void meta_window_handle_mouse_grab_op_event (MetaWindow *window, XEvent *event)
 
MetaWorkspace * meta_window_get_workspace (MetaWindow *window)
 
GList * meta_window_get_workspaces (MetaWindow *window)
 
gboolean meta_window_located_on_workspace (MetaWindow *window, MetaWorkspace *workspace)
 
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)
 
void meta_window_get_current_tile_area (MetaWindow *window, MetaRectangle *tile_area)
 
MetaWindow * meta_window_find_tile_match (MetaWindow *window)
 
gboolean meta_window_same_application (MetaWindow *window, MetaWindow *other_window)
 
void meta_window_refresh_resize_popup (MetaWindow *window)
 
void meta_window_free_delete_dialog (MetaWindow *window)
 
void meta_window_foreach_transient (MetaWindow *window, MetaWindowForeachFunc func, void *data)
 
gboolean meta_window_is_ancestor_of_transient (MetaWindow *window, MetaWindow *transient)
 
void meta_window_foreach_ancestor (MetaWindow *window, MetaWindowForeachFunc func, void *data)
 
MetaWindow * meta_window_find_root_ancestor (MetaWindow *window)
 
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)
 
gboolean meta_window_get_icon_geometry (MetaWindow *window, MetaRectangle *rect)
 
const char * meta_window_get_startup_id (MetaWindow *window)
 
void meta_window_recalc_features (MetaWindow *window)
 
void meta_window_recalc_window_type (MetaWindow *window)
 
void meta_window_frame_size_changed (MetaWindow *window)
 
void meta_window_stack_just_below (MetaWindow *window, MetaWindow *below_this_one)
 
void meta_window_set_user_time (MetaWindow *window, guint32 timestamp)
 
guint32 meta_window_get_user_time (MetaWindow *window)
 
void meta_window_set_demands_attention (MetaWindow *window)
 
void meta_window_unset_demands_attention (MetaWindow *window)
 
void meta_window_update_icon_now (MetaWindow *window)
 
gboolean meta_window_is_client_decorated (MetaWindow *window)
 meta_window_is_client_decorated:
 
void meta_window_update_role (MetaWindow *window)
 
void meta_window_update_net_wm_type (MetaWindow *window)
 
gboolean meta_window_can_tile (MetaWindow *window)
 

Detailed Description

Windows which Marco manages.

Managing X windows. This file contains methods on this class which are available to routines in core but not outside it. (See window.h for the routines which the rest of the world is allowed to use.)

Macro Definition Documentation

◆ META_WINDOW_ALLOWS_HORIZONTAL_RESIZE

#define META_WINDOW_ALLOWS_HORIZONTAL_RESIZE (   w)    (META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS (w) && (w)->size_hints.min_width < (w)->size_hints.max_width)

◆ META_WINDOW_ALLOWS_MOVE

#define META_WINDOW_ALLOWS_MOVE (   w)    ((w)->has_move_func && !(w)->fullscreen)

◆ META_WINDOW_ALLOWS_RESIZE

#define META_WINDOW_ALLOWS_RESIZE (   w)
Value:
(((w)->size_hints.min_width < (w)->size_hints.max_width) || \
((w)->size_hints.min_height < (w)->size_hints.max_height)))
#define META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS(w)
Definition window-private.h:441

◆ META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS

#define META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS (   w)    ((w)->has_resize_func && !META_WINDOW_MAXIMIZED (w) && !(w)->fullscreen && !(w)->shaded)

◆ META_WINDOW_ALLOWS_VERTICAL_RESIZE

#define META_WINDOW_ALLOWS_VERTICAL_RESIZE (   w)    (META_WINDOW_ALLOWS_RESIZE_EXCEPT_HINTS (w) && !META_WINDOW_SIDE_TILED(w) && (w)->size_hints.min_height < (w)->size_hints.max_height)

◆ META_WINDOW_CORNER_TILED

#define META_WINDOW_CORNER_TILED (   w)
Value:
((w)->tiled && \
((w)->tile_mode == META_TILE_BOTTOM_RIGHT || \
(w)->tile_mode == META_TILE_BOTTOM_LEFT || \
(w)->tile_mode == META_TILE_TOP_RIGHT || \
(w)->tile_mode == META_TILE_TOP_LEFT))
@ META_TILE_TOP_LEFT
Definition display-private.h:74
@ META_TILE_TOP_RIGHT
Definition display-private.h:75
@ META_TILE_BOTTOM_LEFT
Definition display-private.h:76
@ META_TILE_BOTTOM_RIGHT
Definition display-private.h:77

◆ META_WINDOW_IN_DOCK_TAB_CHAIN

#define META_WINDOW_IN_DOCK_TAB_CHAIN (   w)     (((w)->input || (w)->take_focus) && (! META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) || (w)->skip_taskbar))

◆ META_WINDOW_IN_GROUP_TAB_CHAIN

#define META_WINDOW_IN_GROUP_TAB_CHAIN (   w,
  g 
)     (((w)->input || (w)->take_focus) && (!g || meta_window_get_group(w)==g))

◆ META_WINDOW_IN_NORMAL_TAB_CHAIN

#define META_WINDOW_IN_NORMAL_TAB_CHAIN (   w)     (((w)->input || (w)->take_focus ) && META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (w) && (!(w)->skip_taskbar))

◆ META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE

#define META_WINDOW_IN_NORMAL_TAB_CHAIN_TYPE (   w)     ((w)->type != META_WINDOW_DOCK && (w)->type != META_WINDOW_DESKTOP)

◆ META_WINDOW_MAXIMIZED

#define META_WINDOW_MAXIMIZED (   w)
Value:
((w)->maximized_horizontally && \
(w)->maximized_vertically)

◆ META_WINDOW_MAXIMIZED_HORIZONTALLY

#define META_WINDOW_MAXIMIZED_HORIZONTALLY (   w)    ((w)->maximized_horizontally)

◆ META_WINDOW_MAXIMIZED_VERTICALLY

#define META_WINDOW_MAXIMIZED_VERTICALLY (   w)    ((w)->maximized_vertically)

◆ META_WINDOW_SIDE_TILED

#define META_WINDOW_SIDE_TILED (   w)
Value:
((w)->tiled && \
((w)->tile_mode == META_TILE_LEFT || \
(w)->tile_mode == META_TILE_RIGHT))
@ META_TILE_RIGHT
Definition display-private.h:72
@ META_TILE_LEFT
Definition display-private.h:71

◆ META_WINDOW_TILED

#define META_WINDOW_TILED (   w)    (META_WINDOW_SIDE_TILED(w) || META_WINDOW_CORNER_TILED(w))

◆ META_WINDOW_TILED_LEFT

#define META_WINDOW_TILED_LEFT (   w)
Value:
(w)->tile_mode == META_TILE_LEFT)
#define META_WINDOW_SIDE_TILED(w)
Definition window-private.h:427

◆ META_WINDOW_TILED_RIGHT

#define META_WINDOW_TILED_RIGHT (   w)
Value:
(w)->tile_mode == META_TILE_RIGHT)

◆ NUMBER_OF_QUEUES

#define NUMBER_OF_QUEUES   3

Typedef Documentation

◆ MetaGroup

typedef struct _MetaGroup MetaGroup

◆ MetaWindowForeachFunc

typedef gboolean(* MetaWindowForeachFunc) (MetaWindow *window, void *data)

◆ MetaWindowQueue

typedef struct _MetaWindowQueue MetaWindowQueue

Enumeration Type Documentation

◆ MetaClientType

Enumerator
META_CLIENT_TYPE_UNKNOWN 
META_CLIENT_TYPE_APPLICATION 
META_CLIENT_TYPE_PAGER 
META_CLIENT_TYPE_MAX_RECOGNIZED 

◆ MetaMaximizeFlags

Enumerator
META_MAXIMIZE_HORIZONTAL 
META_MAXIMIZE_VERTICAL 

◆ MetaQueueType

Enumerator
META_QUEUE_CALC_SHOWING 
META_QUEUE_MOVE_RESIZE 
META_QUEUE_UPDATE_ICON 

◆ MetaTileCycle

Enumerator
META_TILE_CYCLE_NONE 
META_TILE_CYCLE_50 
META_TILE_CYCLE_33 
META_TILE_CYCLE_25 
META_TILE_CYCLE_100 
META_TILE_CYCLE_75 
META_TILE_CYCLE_66 

◆ MetaWindowType

Enumerator
META_WINDOW_NORMAL 
META_WINDOW_DESKTOP 
META_WINDOW_DOCK 
META_WINDOW_DIALOG 
META_WINDOW_MODAL_DIALOG 
META_WINDOW_TOOLBAR 
META_WINDOW_MENU 
META_WINDOW_UTILITY 
META_WINDOW_SPLASHSCREEN 

Function Documentation

◆ __window_is_terminal()

gboolean __window_is_terminal ( MetaWindow *  window)

◆ meta_window_activate()

void meta_window_activate ( MetaWindow *  window,
guint32  current_time 
)

References META_CLIENT_TYPE_PAGER, NULL, _MetaWindow::on_all_workspaces, window_activate(), and _MetaWindow::workspace.

Referenced by do_choose_window(), meta_window_present_delete_dialog(), and process_tab_grab().

Here is the call graph for this function:

◆ meta_window_activate_with_workspace()

void meta_window_activate_with_workspace ( MetaWindow *  window,
guint32  current_time,
MetaWorkspace *  workspace 
)

References META_CLIENT_TYPE_APPLICATION, and window_activate().

Referenced by reload_net_startup_id().

Here is the call graph for this function:

◆ meta_window_appears_focused()

gboolean meta_window_appears_focused ( MetaWindow *  window)

References FALSE, _MetaWindow::has_focus, meta_prefs_get_attach_modal_dialogs(), META_WINDOW_DOCK, meta_window_foreach_transient(), META_WINDOW_SPLASHSCREEN, transient_has_focus(), TRUE, and _MetaWindow::type.

Referenced by meta_frame_get_flags(), set_net_wm_state(), and transient_has_focus().

Here is the call graph for this function:

◆ meta_window_begin_grab_op()

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

References _MetaWindow::display, FALSE, meta_display_begin_grab_op(), _MetaWindow::screen, and warp_grab_pointer().

Referenced by handle_begin_move(), handle_begin_resize(), menu_callback(), meta_window_client_message(), and meta_window_show().

Here is the call graph for this function:

◆ meta_window_begin_wireframe()

◆ meta_window_calc_showing()

void meta_window_calc_showing ( MetaWindow *  window)

References implement_showing(), and meta_window_should_be_showing().

Referenced by idle_calc_showing(), meta_display_begin_grab_op(), meta_display_end_grab_op(), and meta_window_flush_calc_showing().

Here is the call graph for this function:

◆ meta_window_can_tile()

gboolean meta_window_can_tile ( MetaWindow *  window)

◆ meta_window_change_workspace()

◆ meta_window_client_message()

gboolean meta_window_client_message ( MetaWindow *  window,
XEvent *  event 
)

References _NET_WM_MOVERESIZE_CANCEL, _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_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_end_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_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_show_menu(), meta_window_stick(), meta_window_unmake_fullscreen(), meta_window_unmaximize(), meta_window_unset_demands_attention(), meta_window_unshade(), meta_window_unstick(), meta_window_update_fullscreen_monitors(), 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().

Here is the call graph for this function:

◆ meta_window_configure_request()

gboolean meta_window_configure_request ( MetaWindow *  window,
XEvent *  event 
)

◆ meta_window_delete()

void meta_window_delete ( MetaWindow *  window,
guint32  timestamp 
)

◆ meta_window_end_wireframe()

void meta_window_end_wireframe ( MetaWindow *  window)

References _MetaWindow::display, _MetaDisplay::grab_window, _MetaDisplay::grab_wireframe_last_display_height, _MetaDisplay::grab_wireframe_last_display_width, _MetaDisplay::grab_wireframe_last_xor_rect, meta_effects_end_wireframe(), and _MetaWindow::screen.

Referenced by meta_display_end_grab_op().

Here is the call graph for this function:

◆ meta_window_find_root_ancestor()

MetaWindow * meta_window_find_root_ancestor ( MetaWindow *  window)

References find_root_ancestor(), and meta_window_foreach_ancestor().

Referenced by meta_window_compute_group(), and meta_window_raise().

Here is the call graph for this function:

◆ meta_window_find_tile_match()

◆ meta_window_focus()

◆ meta_window_foreach_ancestor()

◆ meta_window_foreach_transient()

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

◆ meta_window_frame_size_changed()

void meta_window_frame_size_changed ( MetaWindow *  window)

References _MetaWindow::frame, and meta_frame_clear_cached_borders().

Referenced by meta_window_appears_focused_changed(), meta_window_make_above(), meta_window_maximize_internal(), meta_window_shade(), meta_window_unmake_above(), meta_window_unmaximize(), meta_window_unshade(), recalc_window_features(), window_stick_impl(), and window_unstick_impl().

Here is the call graph for this function:

◆ meta_window_free()

void meta_window_free ( MetaWindow *  window,
guint32  timestamp 
)

References _MetaScreen::active_workspace, _MetaWindow::border_width, _MetaDisplay::compositor, _MetaWindow::desc, destroying_windows_disallowed, _MetaWindow::display, _MetaDisplay::expected_focus_window, FALSE, _MetaDisplay::focus_window, _MetaWindow::frame, _MetaWindow::fullscreen, _MetaDisplay::grab_window, _MetaWindow::has_focus, 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_group_update_layers(), 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::minimized, _MetaWorkspace::mru_list, NULL, _MetaWindow::screen, send_configure_notify(), set_wm_state(), _MetaScreen::stack, _MetaWindow::struts, TRUE, _MetaWindow::unmanaging, unmaximize_window_before_freeing(), _MetaWindow::user_time_window, _MetaDisplay::window_menu, _MetaDisplay::window_with_menu, _MetaWorkspace::windows, _MetaWindow::withdrawn, _MetaWindow::workspace, _MetaScreen::workspaces, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by event_callback(), and meta_display_unmanage_windows_for_screen().

Here is the call graph for this function:

◆ meta_window_free_delete_dialog()

void meta_window_free_delete_dialog ( MetaWindow *  window)

References _MetaWindow::dialog_pid.

Referenced by meta_window_free().

◆ meta_window_get_client_root_coords()

◆ meta_window_get_current_tile_area()

◆ meta_window_get_geometry()

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

References _MetaRectangle::height, meta_window_get_gravity_position(), _MetaWindow::rect, _MetaWindow::size_hints, and _MetaRectangle::width.

Here is the call graph for this function:

◆ meta_window_get_gravity_position()

◆ meta_window_get_icon_geometry()

gboolean meta_window_get_icon_geometry ( MetaWindow *  window,
MetaRectangle *  rect 
)

References _MetaWindow::desc, _MetaWindow::display, FALSE, _MetaRectangle::height, meta_prop_get_cardinal_list(), meta_XFree, NULL, TRUE, _MetaRectangle::width, _MetaRectangle::x, _MetaWindow::xwindow, and _MetaRectangle::y.

Referenced by implement_showing(), meta_screen_ensure_tab_popup(), and meta_window_show().

Here is the call graph for this function:

◆ meta_window_get_input_rect()

void meta_window_get_input_rect ( const MetaWindow *  window,
MetaRectangle *  rect 
)

meta_window_get_input_rect: @window: a MetaWindow @rect: (out): pointer to an allocated MetaRectangle

Gets the rectangle that bounds @window that is responsive to mouse events. This includes decorations - the visible portion of its border - and (if present) any invisible area that we make make responsive to mouse clicks in order to allow convenient border dragging.

References _MetaWindow::frame, _MetaFrame::rect, and _MetaWindow::rect.

◆ meta_window_get_net_wm_desktop()

unsigned long meta_window_get_net_wm_desktop ( MetaWindow *  window)

References meta_workspace_index(), _MetaWindow::on_all_workspaces, and _MetaWindow::workspace.

Referenced by meta_core_get(), meta_window_set_current_workspace_hint(), and meta_window_show_menu().

Here is the call graph for this function:

◆ meta_window_get_outer_rect()

◆ meta_window_get_position()

◆ meta_window_get_startup_id()

const char * meta_window_get_startup_id ( MetaWindow *  window)

References meta_group_get_startup_id(), meta_window_get_group(), NULL, and _MetaWindow::startup_id.

Referenced by meta_screen_apply_startup_properties().

Here is the call graph for this function:

◆ meta_window_get_user_time()

guint32 meta_window_get_user_time ( MetaWindow *  window)

References _MetaWindow::net_wm_user_time.

Referenced by mru_cmp().

◆ meta_window_get_work_area_all_xineramas()

void meta_window_get_work_area_all_xineramas ( MetaWindow *  window,
MetaRectangle *  area 
)

References _MetaWindow::desc, _MetaRectangle::height, META_DEBUG_WORKAREA, meta_rectangle_intersect(), meta_window_get_workspaces(), meta_workspace_get_work_area_all_xineramas(), NULL, _MetaScreen::rect, _MetaWindow::screen, _MetaRectangle::width, _MetaRectangle::x, and _MetaRectangle::y.

Referenced by handle_move_to_corner_backend().

Here is the call graph for this function:

◆ meta_window_get_work_area_current_xinerama()

void meta_window_get_work_area_current_xinerama ( MetaWindow *  window,
MetaRectangle *  area 
)

References meta_screen_get_xinerama_for_window(), meta_window_get_work_area_for_xinerama(), NULL, _MetaXineramaScreenInfo::number, and _MetaWindow::screen.

Referenced by find_most_freespace().

Here is the call graph for this function:

◆ meta_window_get_work_area_for_xinerama()

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

References get_work_area_xinerama().

Referenced by find_first_fit(), find_next_cascade(), handle_move_to_center(), meta_window_can_tile(), meta_window_get_current_tile_area(), meta_window_get_work_area_current_xinerama(), meta_window_place(), place_window_if_needed(), setup_constraint_info(), update_move(), and update_resize().

Here is the call graph for this function:

◆ meta_window_get_workspace()

◆ meta_window_get_workspaces()

◆ meta_window_get_xor_rect()

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

◆ meta_window_handle_mouse_grab_op_event()

◆ meta_window_is_ancestor_of_transient()

gboolean meta_window_is_ancestor_of_transient ( MetaWindow *  window,
MetaWindow *  transient 
)

References FindAncestorData::ancestor, FALSE, find_ancestor_func(), FindAncestorData::found, and meta_window_foreach_ancestor().

Referenced by create_constraints(), meta_window_foreach_transient(), meta_window_show(), and window_state_on_map().

Here is the call graph for this function:

◆ meta_window_is_client_decorated()

gboolean meta_window_is_client_decorated ( MetaWindow *  window)

meta_window_is_client_decorated:

Check if if the window has decorations drawn by the client. (window->decorated refers only to whether we should add decorations)

References _MetaWindow::has_custom_frame_extents.

Referenced by meta_window_move_resize_request().

◆ meta_window_kill()

void meta_window_kill ( MetaWindow *  window)

References _, _MetaWindow::desc, _MetaWindow::display, FALSE, META_DEBUG_WINDOW_OPS, meta_error_trap_pop(), meta_error_trap_push(), meta_warning(), _MetaWindow::net_wm_pid, NULL, _MetaWindow::wm_client_machine, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by dialog_exited().

Here is the call graph for this function:

◆ meta_window_located_on_workspace()

◆ meta_window_lower()

void meta_window_lower ( MetaWindow *  window)

References _MetaWindow::desc, META_DEBUG_WINDOW_OPS, meta_stack_lower(), _MetaWindow::screen, and _MetaScreen::stack.

Referenced by event_callback(), handle_lower(), handle_raise_or_lower(), meta_core_user_lower_and_unfocus(), and meta_window_configure_request().

Here is the call graph for this function:

◆ meta_window_make_above()

void meta_window_make_above ( MetaWindow *  window)

References meta_window_frame_size_changed(), meta_window_raise(), meta_window_update_layer(), set_net_wm_state(), TRUE, and _MetaWindow::wm_state_above.

Referenced by handle_toggle_above(), menu_callback(), and meta_core_make_above().

Here is the call graph for this function:

◆ meta_window_make_fullscreen()

void meta_window_make_fullscreen ( MetaWindow *  window)

References _MetaWindow::fullscreen, META_QUEUE_MOVE_RESIZE, meta_window_make_fullscreen_internal(), and meta_window_queue().

Referenced by handle_toggle_fullscreen(), and meta_window_client_message().

Here is the call graph for this function:

◆ meta_window_make_fullscreen_internal()

◆ meta_window_maximize()

◆ meta_window_maximize_internal()

◆ meta_window_minimize()

◆ meta_window_move()

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

References _MetaRectangle::height, META_IS_MOVE_ACTION, META_IS_USER_ACTION, meta_window_move_resize_internal(), _MetaWindow::rect, and _MetaRectangle::width.

Referenced by meta_core_user_move(), meta_display_end_grab_op(), move_attached_dialog(), prefs_changed_callback(), process_keyboard_move_grab(), and update_move().

Here is the call graph for this function:

◆ meta_window_move_resize()

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

◆ meta_window_move_resize_request()

void meta_window_move_resize_request ( MetaWindow *  window,
guint  value_mask,
int  gravity,
int  x,
int  y,
int  width,
int  height 
)

◆ meta_window_move_to_monitor()

void meta_window_move_to_monitor ( MetaWindow *  window,
const MetaXineramaScreenInfo *  from_monitor,
const MetaXineramaScreenInfo *  to_monitor 
)

◆ meta_window_new()

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

References FALSE, meta_display_grab(), meta_display_ungrab(), meta_error_trap_pop(), meta_error_trap_pop_with_return(), meta_error_trap_push(), meta_window_new_with_attrs(), NULL, TRUE, and _MetaDisplay::xdisplay.

Referenced by event_callback().

Here is the call graph for this function:

◆ meta_window_new_with_attrs()

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

References _MetaScreen::active_workspace, _MetaWindow::all_keys_grabbed, _MetaWindow::always_sticky, _MetaWindow::bamf_desktop_file, _MetaWindow::border_width, _MetaWindow::calc_placement, _MetaWindow::colormap, _MetaWindow::constructing, _MetaWindow::custom_frame_extents, _MetaWindow::decorated, _MetaWindow::denied_focus_and_not_transient, _MetaWindow::depth, _MetaWindow::desc, _MetaWindow::dialog_pid, _MetaWindow::disable_sync, _MetaWindow::display, _MetaDisplay::display_opening, FALSE, _MetaWindow::force_save_user_rect, _MetaWindow::frame, _MetaWindow::frame_bounds, _MetaWindow::fullscreen, _MetaWindow::fullscreen_after_placement, _MetaWindow::fullscreen_monitors, _MetaWindow::grab_on_frame, _MetaWindow::group, _MetaWindow::gtk_application_id, _MetaWindow::gtk_theme_variant, _MetaWindow::has_close_func, _MetaWindow::has_custom_frame_extents, _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::input, _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_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_TILE_NONE, META_TYPE_WINDOW, 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_net_wm_type(), meta_window_update_role(), meta_window_update_struts(), meta_workspace_add_window(), _MetaWindow::mini_icon, _MetaWindow::minimize_after_placement, _MetaWindow::minimized, _MetaWindow::move_after_placement, _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::tab_unminimized, _MetaWindow::take_focus, _MetaWindow::tile_mode, _MetaWindow::tile_monitor_number, _MetaWindow::tile_resized, _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_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, _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().

◆ meta_window_notify_focus()

◆ meta_window_property_notify()

gboolean meta_window_property_notify ( MetaWindow *  window,
XEvent *  event 
)

References process_property_notify().

Referenced by event_callback().

Here is the call graph for this function:

◆ meta_window_queue()

◆ meta_window_raise()

◆ meta_window_recalc_features()

void meta_window_recalc_features ( MetaWindow *  window)

References recalc_window_features().

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

Here is the call graph for this function:

◆ meta_window_recalc_window_type()

void meta_window_recalc_window_type ( MetaWindow *  window)

References recalc_window_type().

Referenced by meta_window_update_net_wm_type(), reload_net_wm_state(), and reload_transient_for().

Here is the call graph for this function:

◆ meta_window_refresh_resize_popup()

◆ meta_window_resize()

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

References META_IS_RESIZE_ACTION, META_IS_USER_ACTION, meta_window_get_position(), and meta_window_move_resize_internal().

Here is the call graph for this function:

◆ meta_window_resize_with_gravity()

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

References META_IS_RESIZE_ACTION, META_IS_USER_ACTION, meta_window_get_position(), and meta_window_move_resize_internal().

Referenced by meta_core_user_resize(), meta_display_end_grab_op(), process_keyboard_resize_grab(), and update_resize().

Here is the call graph for this function:

◆ meta_window_same_application()

gboolean meta_window_same_application ( MetaWindow *  window,
MetaWindow *  other_window 
)

References meta_window_get_group(), and NULL.

Referenced by avoid_being_obscured_as_second_modal_dialog(), event_callback(), and meta_window_configure_request().

Here is the call graph for this function:

◆ meta_window_send_icccm_message()

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

References _MetaWindow::display, FALSE, meta_error_trap_pop(), meta_error_trap_push(), _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by meta_display_ping_window(), meta_window_delete(), and meta_window_focus().

Here is the call graph for this function:

◆ meta_window_set_current_workspace_hint()

void meta_window_set_current_workspace_hint ( MetaWindow *  window)

◆ meta_window_set_demands_attention()

◆ meta_window_set_gravity()

void meta_window_set_gravity ( MetaWindow *  window,
int  gravity 
)

References _MetaWindow::desc, _MetaWindow::display, FALSE, meta_error_trap_pop(), meta_error_trap_push(), _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by meta_window_move_resize_internal().

Here is the call graph for this function:

◆ meta_window_set_user_time()

void meta_window_set_user_time ( MetaWindow *  window,
guint32  timestamp 
)

◆ meta_window_shade()

void meta_window_shade ( MetaWindow *  window,
guint32  timestamp 
)

◆ meta_window_should_be_showing()

gboolean meta_window_should_be_showing ( MetaWindow *  window)

References _MetaScreen::active_workspace, _MetaWindow::desc, meta_window_located_on_workspace(), meta_window_showing_on_its_workspace(), meta_workspace_index(), _MetaWindow::on_all_workspaces, and _MetaWindow::screen.

Referenced by idle_calc_showing(), and meta_window_calc_showing().

Here is the call graph for this function:

◆ meta_window_shove_titlebar_onscreen()

void meta_window_shove_titlebar_onscreen ( MetaWindow *  window)

◆ meta_window_show_menu()

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

References _MetaScreen::active_workspace, _MetaWindow::always_sticky, MetaWorkspaceLayout::cols, MetaWorkspaceLayout::current_col, MetaWorkspaceLayout::current_row, _MetaWindow::desc, _MetaWindow::display, _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_NONE, 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_window_menu(), meta_core_show_window_menu(), and meta_window_client_message().

Here is the call graph for this function:

◆ meta_window_showing_on_its_workspace()

◆ meta_window_stack_just_below()

void meta_window_stack_just_below ( MetaWindow *  window,
MetaWindow *  below_this_one 
)

References _MetaWindow::desc, META_DEBUG_STACK, meta_window_set_stack_position(), NULL, and _MetaWindow::stack_position.

Referenced by meta_window_show().

Here is the call graph for this function:

◆ meta_window_stick()

void meta_window_stick ( MetaWindow *  window)

References meta_window_foreach_transient(), stick_foreach_func(), TRUE, and window_stick_impl().

Referenced by handle_toggle_on_all_workspaces(), menu_callback(), meta_core_stick(), and meta_window_client_message().

Here is the call graph for this function:

◆ meta_window_tile()

◆ meta_window_titlebar_is_onscreen()

gboolean meta_window_titlebar_is_onscreen ( MetaWindow *  window)

References _MetaScreen::active_workspace, _MetaFrame::child_y, FALSE, _MetaWindow::frame, _MetaRectangle::height, meta_rectangle_intersect(), meta_window_get_outer_rect(), _MetaWindow::screen, _MetaWorkspace::screen_region, TRUE, and _MetaRectangle::width.

Referenced by meta_core_get(), and meta_window_show_menu().

Here is the call graph for this function:

◆ meta_window_unmake_above()

void meta_window_unmake_above ( MetaWindow *  window)

References FALSE, meta_window_frame_size_changed(), meta_window_raise(), meta_window_update_layer(), set_net_wm_state(), and _MetaWindow::wm_state_above.

Referenced by handle_toggle_above(), menu_callback(), and meta_core_unmake_above().

Here is the call graph for this function:

◆ meta_window_unmake_fullscreen()

◆ meta_window_unmaximize()

void meta_window_unmaximize ( MetaWindow *  window,
MetaMaximizeFlags  directions 
)

◆ meta_window_unminimize()

void meta_window_unminimize ( MetaWindow *  window)

References FALSE, META_QUEUE_CALC_SHOWING, meta_window_foreach_transient(), meta_window_queue(), _MetaWindow::minimized, NULL, queue_calc_showing_func(), set_allowed_actions_hint(), TRUE, and _MetaWindow::was_minimized.

Referenced by do_choose_window(), event_callback(), process_tab_grab(), unminimize_func(), and unminimize_window_and_all_transient_parents().

Here is the call graph for this function:

◆ meta_window_unset_demands_attention()

void meta_window_unset_demands_attention ( MetaWindow *  window)

References _MetaWindow::desc, FALSE, META_DEBUG_WINDOW_OPS, set_net_wm_state(), and _MetaWindow::wm_state_demands_attention.

Referenced by meta_window_client_message(), and meta_window_focus().

Here is the call graph for this function:

◆ meta_window_unshade()

void meta_window_unshade ( MetaWindow *  window,
guint32  timestamp 
)

◆ meta_window_unstick()

void meta_window_unstick ( MetaWindow *  window)

References FALSE, meta_window_foreach_transient(), stick_foreach_func(), and window_unstick_impl().

Referenced by handle_toggle_on_all_workspaces(), menu_callback(), meta_core_unstick(), meta_window_change_workspace_without_transients(), and meta_window_client_message().

Here is the call graph for this function:

◆ meta_window_untile()

void meta_window_untile ( MetaWindow *  window)

References FALSE, META_MAXIMIZE_HORIZONTAL, META_MAXIMIZE_VERTICAL, meta_window_unmaximize(), and _MetaWindow::tiled.

Referenced by handle_toggle_tiled().

Here is the call graph for this function:

◆ meta_window_update_fullscreen_monitors()

void meta_window_update_fullscreen_monitors ( MetaWindow *  window,
unsigned long  top,
unsigned long  bottom,
unsigned long  left,
unsigned long  right 
)

References _MetaWindow::fullscreen, _MetaWindow::fullscreen_monitors, META_QUEUE_MOVE_RESIZE, meta_window_queue(), and screen.

Referenced by meta_window_client_message().

Here is the call graph for this function:

◆ meta_window_update_icon_now()

◆ meta_window_update_keyboard_move()

void meta_window_update_keyboard_move ( MetaWindow *  window)

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

Referenced by process_keyboard_move_grab().

Here is the call graph for this function:

◆ meta_window_update_keyboard_resize()

void meta_window_update_keyboard_resize ( MetaWindow *  window,
gboolean  update_cursor 
)

References _MetaWindow::display, _MetaDisplay::grab_op, _MetaDisplay::grab_xwindow, meta_display_set_grab_op_cursor(), NULL, TRUE, and warp_grab_pointer().

Referenced by process_keyboard_resize_grab(), process_keyboard_resize_grab_op_change(), and update_resize().

Here is the call graph for this function:

◆ meta_window_update_layer()

void meta_window_update_layer ( MetaWindow *  window)

◆ meta_window_update_net_wm_type()

void meta_window_update_net_wm_type ( MetaWindow *  window)

References _MetaWindow::desc, _MetaWindow::display, meta_error_trap_pop(), meta_error_trap_push(), meta_is_verbose(), meta_prop_get_atom_list(), meta_window_recalc_window_type(), meta_XFree, NULL, TRUE, _MetaWindow::type_atom, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by meta_window_new_with_attrs(), and reload_net_wm_window_type().

Here is the call graph for this function:

◆ meta_window_update_role()

void meta_window_update_role ( MetaWindow *  window)

References _MetaWindow::desc, _MetaWindow::display, meta_prop_get_latin1_string(), meta_XFree, NULL, _MetaWindow::role, and _MetaWindow::xwindow.

Referenced by meta_window_new_with_attrs(), and reload_wm_window_role().

Here is the call graph for this function:

◆ meta_window_update_struts()

◆ meta_window_update_unfocused_button_grabs()

void meta_window_update_unfocused_button_grabs ( MetaWindow *  window)

◆ meta_window_update_wireframe()