Go to the source code of this file.
Functions | |
| static MetaWindow * | get_window (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_get (Display *xdisplay, Window xwindow,...) |
| void | meta_core_queue_frame_resize (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_user_move (Display *xdisplay, Window frame_xwindow, int x, int y) |
| void | meta_core_user_resize (Display *xdisplay, Window frame_xwindow, int gravity, int width, int height) |
| void | meta_core_user_raise (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_user_lower_and_unfocus (Display *xdisplay, Window frame_xwindow, guint32 timestamp) |
| void | meta_core_user_focus (Display *xdisplay, Window frame_xwindow, guint32 timestamp) |
| void | meta_core_minimize (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_maximize (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_toggle_maximize_vertically (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_toggle_maximize_horizontally (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_toggle_maximize (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_unmaximize (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_delete (Display *xdisplay, Window frame_xwindow, guint32 timestamp) |
| void | meta_core_unshade (Display *xdisplay, Window frame_xwindow, guint32 timestamp) |
| void | meta_core_shade (Display *xdisplay, Window frame_xwindow, guint32 timestamp) |
| void | meta_core_unstick (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_make_above (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_unmake_above (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_stick (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_change_workspace (Display *xdisplay, Window frame_xwindow, int new_workspace) |
| int | meta_core_get_num_workspaces (Screen *xscreen) |
| int | meta_core_get_active_workspace (Screen *xscreen) |
| void | meta_core_show_window_menu (Display *xdisplay, Window frame_xwindow, int root_x, int root_y, int button, guint32 timestamp) |
| void | meta_core_get_menu_accelerator (MetaMenuOp menu_op, int workspace, unsigned int *keysym, MetaVirtualModifier *modifiers) |
| const char * | meta_core_get_workspace_name_with_index (Display *xdisplay, Window xroot, int index) |
| gboolean | meta_core_begin_grab_op (Display *xdisplay, Window frame_xwindow, MetaGrabOp op, gboolean pointer_already_grabbed, gboolean frame_action, int button, gulong modmask, guint32 timestamp, int root_x, int root_y) |
| void | meta_core_end_grab_op (Display *xdisplay, guint32 timestamp) |
| MetaGrabOp | meta_core_get_grab_op (Display *xdisplay) |
| Window | meta_core_get_grab_frame (Display *xdisplay) |
| int | meta_core_get_grab_button (Display *xdisplay) |
| void | meta_core_grab_buttons (Display *xdisplay, Window frame_xwindow) |
| void | meta_core_set_screen_cursor (Display *xdisplay, Window frame_on_screen, MetaCursor cursor) |
| void | meta_core_increment_event_serial (Display *xdisplay) |
| void | meta_invalidate_default_icons (void) |
| static MetaWindow* get_window | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) | [static] |
Definition at line 44 of file core.c.
References _MetaWindow::frame, meta_bug(), meta_display_for_x_display(), meta_display_lookup_x_window(), and NULL.
Referenced by meta_core_begin_grab_op(), meta_core_change_workspace(), meta_core_delete(), meta_core_make_above(), meta_core_maximize(), meta_core_minimize(), meta_core_queue_frame_resize(), meta_core_set_screen_cursor(), meta_core_shade(), meta_core_show_window_menu(), meta_core_stick(), meta_core_toggle_maximize(), meta_core_toggle_maximize_horizontally(), meta_core_toggle_maximize_vertically(), meta_core_unmake_above(), meta_core_unmaximize(), meta_core_unshade(), meta_core_unstick(), meta_core_user_focus(), meta_core_user_lower_and_unfocus(), meta_core_user_move(), meta_core_user_raise(), and meta_core_user_resize().
| gboolean meta_core_begin_grab_op | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| MetaGrabOp | op, | |||
| gboolean | pointer_already_grabbed, | |||
| gboolean | frame_action, | |||
| int | button, | |||
| gulong | modmask, | |||
| guint32 | timestamp, | |||
| int | root_x, | |||
| int | root_y | |||
| ) |
Definition at line 638 of file core.c.
References get_window(), meta_display_begin_grab_op(), meta_display_for_x_display(), meta_display_screen_for_xwindow(), NULL, and screen.
Referenced by meta_frames_button_press_event().
| void meta_core_change_workspace | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| int | new_workspace | |||
| ) |
Definition at line 462 of file core.c.
References get_window(), meta_screen_get_workspace_by_index(), meta_window_change_workspace(), and _MetaWindow::screen.
| void meta_core_delete | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 396 of file core.c.
References get_window(), and meta_window_delete().
Referenced by meta_frames_button_release_event().
| void meta_core_end_grab_op | ( | Display * | xdisplay, | |
| guint32 | timestamp | |||
| ) |
Definition at line 666 of file core.c.
References meta_display_end_grab_op(), and meta_display_for_x_display().
Referenced by meta_frames_button_release_event(), and meta_frames_notify_menu_hide().
| void meta_core_get | ( | Display * | xdisplay, | |
| Window | xwindow, | |||
| ... | ||||
| ) |
Definition at line 63 of file core.c.
References _, _MetaWindow::border_only, _MetaWindow::frame, _MetaRectangle::height, _MetaWindow::icon, meta_bug(), META_CORE_GET_CLIENT_HEIGHT, META_CORE_GET_CLIENT_WIDTH, META_CORE_GET_CLIENT_XWINDOW, META_CORE_GET_END, META_CORE_GET_FRAME_FLAGS, META_CORE_GET_FRAME_HEIGHT, META_CORE_GET_FRAME_TYPE, META_CORE_GET_FRAME_WIDTH, META_CORE_GET_FRAME_WORKSPACE, META_CORE_GET_FRAME_X, META_CORE_GET_FRAME_Y, META_CORE_GET_ICON, META_CORE_GET_MINI_ICON, META_CORE_GET_SCREEN_HEIGHT, META_CORE_GET_SCREEN_WIDTH, META_CORE_GET_X, META_CORE_GET_Y, META_CORE_IS_TITLEBAR_ONSCREEN, META_CORE_WINDOW_HAS_FRAME, meta_display_for_x_display(), meta_display_lookup_x_window(), meta_frame_get_flags(), META_FRAME_TYPE_BORDER, META_FRAME_TYPE_DIALOG, META_FRAME_TYPE_LAST, META_FRAME_TYPE_MENU, META_FRAME_TYPE_MODAL_DIALOG, META_FRAME_TYPE_NORMAL, META_FRAME_TYPE_UTILITY, meta_warning(), META_WINDOW_DESKTOP, META_WINDOW_DIALOG, META_WINDOW_DOCK, meta_window_get_net_wm_desktop(), meta_window_get_position(), META_WINDOW_MENU, META_WINDOW_MODAL_DIALOG, META_WINDOW_NORMAL, META_WINDOW_SPLASHSCREEN, meta_window_titlebar_is_onscreen(), META_WINDOW_TOOLBAR, META_WINDOW_UTILITY, _MetaWindow::mini_icon, NULL, _MetaScreen::rect, _MetaFrame::rect, _MetaWindow::rect, _MetaWindow::screen, _MetaWindow::type, _MetaRectangle::width, _MetaRectangle::x, _MetaWindow::xwindow, and _MetaRectangle::y.
Referenced by clip_to_screen(), get_control(), meta_frame_titlebar_event(), meta_frames_apply_shapes(), meta_frames_button_press_event(), meta_frames_calc_geometry(), meta_frames_ensure_layout(), meta_frames_get_geometry(), meta_frames_paint_to_drawable(), meta_frames_set_window_background(), and populate_cache().
| int meta_core_get_active_workspace | ( | Screen * | xscreen | ) |
Definition at line 484 of file core.c.
References _MetaScreen::active_workspace, meta_screen_for_x_screen(), meta_workspace_index(), and screen.
| int meta_core_get_grab_button | ( | Display * | xdisplay | ) |
Definition at line 708 of file core.c.
References _MetaDisplay::grab_button, _MetaDisplay::grab_op, meta_display_for_x_display(), and META_GRAB_OP_NONE.
Referenced by meta_frames_button_release_event().
| Window meta_core_get_grab_frame | ( | Display * | xdisplay | ) |
Definition at line 687 of file core.c.
References _MetaScreen::display, _MetaWindow::frame, _MetaDisplay::grab_op, _MetaDisplay::grab_screen, _MetaDisplay::grab_window, meta_display_for_x_display(), META_GRAB_OP_NONE, NULL, _MetaDisplay::xdisplay, and _MetaFrame::xwindow.
Referenced by meta_frames_button_release_event(), meta_frames_notify_menu_hide(), and meta_frames_paint_to_drawable().
| MetaGrabOp meta_core_get_grab_op | ( | Display * | xdisplay | ) |
Definition at line 677 of file core.c.
References _MetaDisplay::grab_op, and meta_display_for_x_display().
Referenced by meta_frames_button_press_event(), meta_frames_button_release_event(), meta_frames_motion_notify_event(), meta_frames_notify_menu_hide(), and meta_frames_paint_to_drawable().
| void meta_core_get_menu_accelerator | ( | MetaMenuOp | menu_op, | |
| int | workspace, | |||
| unsigned int * | keysym, | |||
| MetaVirtualModifier * | modifiers | |||
| ) |
Definition at line 511 of file core.c.
References META_KEYBINDING_BEGIN_MOVE, META_KEYBINDING_BEGIN_RESIZE, META_KEYBINDING_CLOSE, META_KEYBINDING_MAXIMIZE, META_KEYBINDING_MINIMIZE, META_KEYBINDING_MOVE_WORKSPACE_1, META_KEYBINDING_MOVE_WORKSPACE_10, META_KEYBINDING_MOVE_WORKSPACE_11, META_KEYBINDING_MOVE_WORKSPACE_12, META_KEYBINDING_MOVE_WORKSPACE_2, META_KEYBINDING_MOVE_WORKSPACE_3, META_KEYBINDING_MOVE_WORKSPACE_4, META_KEYBINDING_MOVE_WORKSPACE_5, META_KEYBINDING_MOVE_WORKSPACE_6, META_KEYBINDING_MOVE_WORKSPACE_7, META_KEYBINDING_MOVE_WORKSPACE_8, META_KEYBINDING_MOVE_WORKSPACE_9, META_KEYBINDING_MOVE_WORKSPACE_DOWN, META_KEYBINDING_MOVE_WORKSPACE_LEFT, META_KEYBINDING_MOVE_WORKSPACE_RIGHT, META_KEYBINDING_MOVE_WORKSPACE_UP, META_KEYBINDING_TOGGLE_ABOVE, META_KEYBINDING_TOGGLE_SHADE, META_KEYBINDING_TOGGLE_STICKY, META_KEYBINDING_UNMAXIMIZE, 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_prefs_get_window_binding(), and NULL.
Referenced by menu_item_new(), and meta_window_menu_new().
| int meta_core_get_num_workspaces | ( | Screen * | xscreen | ) |
Definition at line 474 of file core.c.
References meta_screen_for_x_screen(), meta_screen_get_n_workspaces(), and screen.
| const char* meta_core_get_workspace_name_with_index | ( | Display * | xdisplay, | |
| Window | xroot, | |||
| int | index | |||
| ) |
Definition at line 622 of file core.c.
References meta_display_for_x_display(), meta_display_screen_for_root(), meta_screen_get_workspace_by_index(), meta_workspace_get_name(), NULL, and screen.
Referenced by get_workspace_name_with_accel().
| void meta_core_grab_buttons | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 721 of file core.c.
References meta_display_for_x_display(), and meta_display_grab_window_buttons().
Referenced by meta_frames_manage_window().
| void meta_core_increment_event_serial | ( | Display * | xdisplay | ) |
Definition at line 743 of file core.c.
References meta_display_for_x_display(), and meta_display_increment_event_serial().
Referenced by display_entry(), meta_image_window_set_showing(), and meta_ui_tab_popup_set_showing().
| void meta_core_make_above | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 435 of file core.c.
References get_window(), and meta_window_make_above().
Referenced by meta_frames_button_release_event().
| void meta_core_maximize | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 319 of file core.c.
References get_window(), META_MAXIMIZE_HORIZONTAL, META_MAXIMIZE_VERTICAL, meta_prefs_get_raise_on_click(), meta_window_maximize(), and meta_window_raise().
Referenced by meta_frames_button_release_event().
| void meta_core_minimize | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 310 of file core.c.
References get_window(), and meta_window_minimize().
Referenced by meta_frame_titlebar_event(), and meta_frames_button_release_event().
| void meta_core_queue_frame_resize | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 216 of file core.c.
References get_window(), META_QUEUE_MOVE_RESIZE, and meta_window_queue().
Referenced by queue_recalc_func().
| void meta_core_set_screen_cursor | ( | Display * | xdisplay, | |
| Window | frame_on_screen, | |||
| MetaCursor | cursor | |||
| ) |
Definition at line 733 of file core.c.
References _MetaWindow::frame, get_window(), and meta_frame_set_screen_cursor().
Referenced by meta_frames_unmanage_window(), and meta_frames_update_prelit_control().
| void meta_core_shade | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 416 of file core.c.
References get_window(), and meta_window_shade().
Referenced by meta_frame_titlebar_event(), and meta_frames_button_release_event().
| void meta_core_show_window_menu | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| int | root_x, | |||
| int | root_y, | |||
| int | button, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 494 of file core.c.
References get_window(), meta_prefs_get_raise_on_click(), meta_window_focus(), meta_window_raise(), and meta_window_show_menu().
Referenced by meta_frame_titlebar_event(), and meta_frames_button_press_event().
| void meta_core_stick | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 453 of file core.c.
References get_window(), and meta_window_stick().
Referenced by meta_frames_button_release_event().
| void meta_core_toggle_maximize | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 366 of file core.c.
References get_window(), META_MAXIMIZE_HORIZONTAL, META_MAXIMIZE_VERTICAL, meta_prefs_get_raise_on_click(), meta_window_maximize(), META_WINDOW_MAXIMIZED, meta_window_raise(), and meta_window_unmaximize().
Referenced by meta_frame_titlebar_event().
| void meta_core_toggle_maximize_horizontally | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 349 of file core.c.
References get_window(), META_MAXIMIZE_HORIZONTAL, meta_prefs_get_raise_on_click(), meta_window_maximize(), META_WINDOW_MAXIMIZED_HORIZONTALLY, meta_window_raise(), and meta_window_unmaximize().
Referenced by meta_frame_titlebar_event().
| void meta_core_toggle_maximize_vertically | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 332 of file core.c.
References get_window(), META_MAXIMIZE_VERTICAL, meta_prefs_get_raise_on_click(), meta_window_maximize(), META_WINDOW_MAXIMIZED_VERTICALLY, meta_window_raise(), and meta_window_unmaximize().
Referenced by meta_frame_titlebar_event().
| void meta_core_unmake_above | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 444 of file core.c.
References get_window(), and meta_window_unmake_above().
Referenced by meta_frames_button_release_event().
| void meta_core_unmaximize | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 383 of file core.c.
References get_window(), META_MAXIMIZE_HORIZONTAL, META_MAXIMIZE_VERTICAL, meta_prefs_get_raise_on_click(), meta_window_raise(), and meta_window_unmaximize().
Referenced by meta_frames_button_release_event().
| void meta_core_unshade | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 406 of file core.c.
References get_window(), and meta_window_unshade().
Referenced by meta_frame_titlebar_event(), and meta_frames_button_release_event().
| void meta_core_unstick | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
Definition at line 426 of file core.c.
References get_window(), and meta_window_unstick().
Referenced by meta_frames_button_release_event().
| void meta_core_user_focus | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 300 of file core.c.
References get_window(), and meta_window_focus().
Referenced by meta_frames_button_press_event(), and meta_frames_button_release_event().
| void meta_core_user_lower_and_unfocus | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| guint32 | timestamp | |||
| ) |
Definition at line 257 of file core.c.
References _MetaScreen::active_workspace, get_window(), _MetaWindow::has_focus, META_FOCUS_MODE_CLICK, meta_prefs_get_focus_mode(), meta_prefs_get_raise_on_click(), meta_window_located_on_workspace(), meta_window_lower(), meta_workspace_focus_default_window(), _MetaWorkspace::mru_list, NULL, and _MetaWindow::screen.
Referenced by meta_frame_titlebar_event().
| void meta_core_user_move | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| int | x, | |||
| int | y | |||
| ) |
| void meta_core_user_raise | ( | Display * | xdisplay, | |
| Window | frame_xwindow | |||
| ) |
| void meta_core_user_resize | ( | Display * | xdisplay, | |
| Window | frame_xwindow, | |||
| int | gravity, | |||
| int | width, | |||
| int | height | |||
| ) |
Definition at line 236 of file core.c.
References get_window(), meta_window_resize_with_gravity(), and TRUE.
| void meta_invalidate_default_icons | ( | void | ) |
Definition at line 753 of file core.c.
References _MetaWindow::icon_cache, meta_display_list_windows(), meta_get_display(), meta_icon_cache_free(), meta_window_update_icon_now(), NULL, _MetaIconCache::origin, USING_FALLBACK_ICON, and windows.
Referenced by meta_ui_set_current_theme().
1.5.5