window: Remove meta_window_get_rect
It's a bad API that returns weird results you wouldn't expect.
This commit is contained in:
parent
b704659899
commit
d4058d947b
@ -6944,20 +6944,6 @@ meta_window_is_skip_taskbar (MetaWindow *window)
|
|||||||
return window->skip_taskbar;
|
return window->skip_taskbar;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* meta_window_get_rect:
|
|
||||||
* @window: a #MetaWindow
|
|
||||||
*
|
|
||||||
* Gets the rectangle that bounds @window, ignoring any window decorations.
|
|
||||||
*
|
|
||||||
* Return value: (transfer none): the #MetaRectangle for the window
|
|
||||||
*/
|
|
||||||
MetaRectangle *
|
|
||||||
meta_window_get_rect (MetaWindow *window)
|
|
||||||
{
|
|
||||||
return &window->rect;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* meta_window_get_screen:
|
* meta_window_get_screen:
|
||||||
* @window: a #MetaWindow
|
* @window: a #MetaWindow
|
||||||
|
@ -108,7 +108,6 @@ gboolean meta_window_appears_focused (MetaWindow *window);
|
|||||||
gboolean meta_window_is_shaded (MetaWindow *window);
|
gboolean meta_window_is_shaded (MetaWindow *window);
|
||||||
gboolean meta_window_is_override_redirect (MetaWindow *window);
|
gboolean meta_window_is_override_redirect (MetaWindow *window);
|
||||||
gboolean meta_window_is_skip_taskbar (MetaWindow *window);
|
gboolean meta_window_is_skip_taskbar (MetaWindow *window);
|
||||||
MetaRectangle *meta_window_get_rect (MetaWindow *window);
|
|
||||||
void meta_window_get_input_rect (const MetaWindow *window, MetaRectangle *rect);
|
void meta_window_get_input_rect (const MetaWindow *window, MetaRectangle *rect);
|
||||||
|
|
||||||
void meta_window_get_frame_rect (const MetaWindow *window, MetaRectangle *rect);
|
void meta_window_get_frame_rect (const MetaWindow *window, MetaRectangle *rect);
|
||||||
|
Loading…
Reference in New Issue
Block a user