Go to the source code of this file.
Defines | |
| #define | EVENT_MASK |
Functions | |
| void | meta_window_ensure_frame (MetaWindow *window) |
| void | meta_window_destroy_frame (MetaWindow *window) |
| MetaFrameFlags | meta_frame_get_flags (MetaFrame *frame) |
| void | meta_frame_calc_geometry (MetaFrame *frame, MetaFrameGeometry *geomp) |
| static void | update_shape (MetaFrame *frame) |
| void | meta_frame_sync_to_window (MetaFrame *frame, int resize_gravity, gboolean need_move, gboolean need_resize) |
| void | meta_frame_queue_draw (MetaFrame *frame) |
| void | meta_frame_set_screen_cursor (MetaFrame *frame, MetaCursor cursor) |
| Window | meta_frame_get_xwindow (MetaFrame *frame) |
| #define EVENT_MASK |
Value:
(SubstructureRedirectMask | \
StructureNotifyMask | SubstructureNotifyMask | \
ExposureMask | \
ButtonPressMask | ButtonReleaseMask | \
PointerMotionMask | PointerMotionHintMask | \
EnterWindowMask | LeaveWindowMask | \
FocusChangeMask | \
ColormapChangeMask)
Definition at line 36 of file frame.c.
Referenced by meta_window_ensure_frame().
| void meta_frame_calc_geometry | ( | MetaFrame * | frame, | |
| MetaFrameGeometry * | geomp | |||
| ) |
Definition at line 297 of file frame.c.
References _MetaFrameGeometry::bottom_height, _MetaFrameGeometry::left_width, meta_ui_get_frame_geometry(), _MetaFrameGeometry::right_width, _MetaWindow::screen, _MetaFrameGeometry::top_height, _MetaScreen::ui, _MetaFrame::window, and _MetaFrame::xwindow.
Referenced by meta_window_move_resize_internal(), and place_window_if_needed().
| MetaFrameFlags meta_frame_get_flags | ( | MetaFrame * | frame | ) |
Definition at line 231 of file frame.c.
References _MetaWindow::border_only, _MetaWindow::fullscreen, _MetaWindow::has_close_func, _MetaWindow::has_focus, _MetaWindow::has_maximize_func, _MetaWindow::has_minimize_func, _MetaWindow::has_shade_func, _MetaFrame::is_flashing, META_FRAME_ABOVE, META_FRAME_ALLOWS_DELETE, META_FRAME_ALLOWS_HORIZONTAL_RESIZE, META_FRAME_ALLOWS_MAXIMIZE, META_FRAME_ALLOWS_MENU, META_FRAME_ALLOWS_MINIMIZE, META_FRAME_ALLOWS_MOVE, META_FRAME_ALLOWS_SHADE, META_FRAME_ALLOWS_VERTICAL_RESIZE, META_FRAME_FULLSCREEN, META_FRAME_HAS_FOCUS, META_FRAME_IS_FLASHING, META_FRAME_MAXIMIZED, META_FRAME_SHADED, META_FRAME_STUCK, META_WINDOW_ALLOWS_HORIZONTAL_RESIZE, META_WINDOW_ALLOWS_MOVE, META_WINDOW_ALLOWS_VERTICAL_RESIZE, META_WINDOW_MAXIMIZED, _MetaWindow::on_all_workspaces, _MetaWindow::shaded, _MetaFrame::window, and _MetaWindow::wm_state_above.
Referenced by meta_core_get().
| Window meta_frame_get_xwindow | ( | MetaFrame * | frame | ) |
Definition at line 417 of file frame.c.
References _MetaFrame::xwindow.
Referenced by xrender_get_window_pixmap(), and xrender_set_active_window().
| void meta_frame_queue_draw | ( | MetaFrame * | frame | ) |
Definition at line 391 of file frame.c.
References meta_ui_queue_frame_draw(), _MetaWindow::screen, _MetaScreen::ui, _MetaFrame::window, and _MetaFrame::xwindow.
Referenced by bell_flash_window_frame(), bell_unflash_frame(), meta_display_queue_retheme_all_windows(), meta_window_notify_focus(), and queue_draw().
| void meta_frame_set_screen_cursor | ( | MetaFrame * | frame, | |
| MetaCursor | cursor | |||
| ) |
Definition at line 398 of file frame.c.
References _MetaFrame::current_cursor, _MetaWindow::display, META_CURSOR_DEFAULT, meta_display_create_x_cursor(), _MetaFrame::window, _MetaDisplay::xdisplay, and _MetaFrame::xwindow.
Referenced by meta_core_set_screen_cursor().
| void meta_frame_sync_to_window | ( | MetaFrame * | frame, | |
| int | resize_gravity, | |||
| gboolean | need_move, | |||
| gboolean | need_resize | |||
| ) |
Definition at line 330 of file frame.c.
References _MetaWindow::display, _MetaDisplay::grab_window, _MetaRectangle::height, META_DEBUG_GEOMETRY, meta_ui_move_resize_frame(), meta_ui_repaint_frame(), meta_ui_reset_frame_bg(), meta_ui_unflicker_frame_bg(), _MetaFrame::need_reapply_frame_shape, _MetaFrame::rect, _MetaWindow::screen, TRUE, _MetaScreen::ui, update_shape(), _MetaRectangle::width, _MetaFrame::window, _MetaRectangle::x, _MetaFrame::xwindow, and _MetaRectangle::y.
Referenced by meta_window_move_resize_internal().
| void meta_window_destroy_frame | ( | MetaWindow * | window | ) |
Definition at line 175 of file frame.c.
References _MetaWindow::desc, _MetaWindow::display, FALSE, _MetaWindow::frame, _MetaWindow::mapped, meta_bell_notify_frame_destroy(), META_DEBUG_WINDOW_STATE, meta_display_unregister_x_window(), meta_error_trap_pop(), meta_error_trap_push(), META_QUEUE_CALC_SHOWING, meta_ui_destroy_frame_window(), meta_window_grab_keys(), meta_window_queue(), NULL, _MetaFrame::rect, _MetaWindow::screen, _MetaScreen::ui, _MetaWindow::unmaps_pending, _MetaRectangle::x, _MetaDisplay::xdisplay, _MetaScreen::xroot, _MetaFrame::xwindow, _MetaWindow::xwindow, and _MetaRectangle::y.
Referenced by event_callback(), meta_window_free(), recalc_window_type(), and reload_mwm_hints().
| void meta_window_ensure_frame | ( | MetaWindow * | window | ) |
Definition at line 46 of file frame.c.
References _MetaFrame::bottom_height, _MetaFrame::child_x, _MetaFrame::child_y, _MetaFrame::current_cursor, _MetaScreen::default_depth, _MetaScreen::default_xvisual, _MetaWindow::depth, _MetaWindow::desc, _MetaWindow::display, EVENT_MASK, FALSE, _MetaWindow::frame, _MetaWindow::has_shape, _MetaRectangle::height, _MetaFrame::is_flashing, _MetaWindow::mapped, _MetaFrame::mapped, META_DEBUG_WINDOW_STATE, meta_display_grab(), meta_display_register_x_window(), meta_display_ungrab(), meta_error_trap_pop(), meta_error_trap_push(), meta_ui_apply_frame_shape(), meta_ui_create_frame_window(), meta_ui_reset_frame_bg(), meta_ui_set_frame_title(), meta_window_grab_keys(), _MetaFrame::need_reapply_frame_shape, NULL, _MetaScreen::number, _MetaWindow::rect, _MetaFrame::rect, _MetaFrame::right_width, _MetaWindow::screen, _MetaWindow::title, TRUE, _MetaScreen::ui, _MetaWindow::unmaps_pending, _MetaRectangle::width, _MetaFrame::window, _MetaRectangle::x, _MetaDisplay::xdisplay, _MetaWindow::xvisual, _MetaWindow::xwindow, _MetaFrame::xwindow, and _MetaRectangle::y.
Referenced by meta_window_new_with_attrs(), recalc_window_type(), and reload_mwm_hints().
| static void update_shape | ( | MetaFrame * | frame | ) | [static] |
Definition at line 316 of file frame.c.
References FALSE, _MetaWindow::has_shape, _MetaRectangle::height, meta_ui_apply_frame_shape(), _MetaFrame::need_reapply_frame_shape, _MetaFrame::rect, _MetaWindow::screen, _MetaScreen::ui, _MetaRectangle::width, _MetaFrame::window, and _MetaFrame::xwindow.
Referenced by meta_frame_sync_to_window().
1.5.5