marco 1.29.1
Window manager
Loading...
Searching...
No Matches
place.h File Reference
View source
#include "window-private.h"
#include "frame-private.h"
Include dependency graph for place.h:
This graph shows which files directly or indirectly include this file:

Functions

void meta_window_place (MetaWindow *window, MetaFrameBorders *borders, int x, int y, int *new_x, int *new_y)
 
void center_rect_in_area (MetaRectangle *rect, MetaRectangle *work_area)
 

Function Documentation

◆ center_rect_in_area()

void center_rect_in_area ( MetaRectangle *  rect,
MetaRectangle *  work_area 
)

◆ meta_window_place()

void meta_window_place ( MetaWindow *  window,
MetaFrameBorders *  borders,
int  x,
int  y,
int *  new_x,
int *  new_y 
)

References avoid_being_obscured_as_second_modal_dialog(), _MetaWindow::decorated, _MetaWindow::denied_focus_and_not_transient, _MetaWindow::desc, _MetaWindow::display, find_first_fit(), find_most_freespace(), find_next_cascade(), _MetaDisplay::focus_window, _MetaWindow::fullscreen, _MetaWindow::has_maximize_func, _MetaRectangle::height, _MetaWindow::maximize_horizontally_after_placement, _MetaWindow::maximize_vertically_after_placement, META_DEBUG_PLACEMENT, meta_display_list_windows(), meta_display_lookup_x_window(), META_PLACEMENT_MODE_MANUAL, META_PLACEMENT_MODE_POINTER, meta_prefs_get_center_new_windows(), meta_prefs_get_disable_workarounds(), meta_prefs_get_placement_mode(), meta_rectangle_intersect(), meta_screen_get_current_xinerama(), META_WINDOW_DESKTOP, META_WINDOW_DIALOG, META_WINDOW_DOCK, meta_window_get_outer_rect(), meta_window_get_position(), meta_window_get_work_area_for_xinerama(), META_WINDOW_MENU, META_WINDOW_MODAL_DIALOG, META_WINDOW_NORMAL, meta_window_showing_on_its_workspace(), META_WINDOW_SPLASHSCREEN, META_WINDOW_TOOLBAR, META_WINDOW_UTILITY, NULL, _MetaXineramaScreenInfo::number, _MetaScreen::number, _MetaWindow::on_all_workspaces, place_by_pointer(), placement_mode, _MetaXineramaScreenInfo::rect, _MetaWindow::rect, _MetaWindow::screen, _MetaWindow::size_hints, TRUE, _MetaWindow::type, _MetaFrameBorders::visible, _MetaRectangle::width, windows, _MetaWindow::workspace, _MetaRectangle::x, _MetaWindow::xtransient_for, and _MetaRectangle::y.

Referenced by place_window_if_needed().

Here is the call graph for this function: