Rename meta_window_get_outer_rect() to meta_window_get_frame_rect()

For clarity, rename meta_window_get_outer_rect() to match terminology
we use elsewhere. The old function is left as a deprecated
compatibility wrapper.
This commit is contained in:
Owen W. Taylor
2013-11-19 12:24:45 -05:00
parent fe8829f324
commit fbbc32422e
13 changed files with 124 additions and 101 deletions

View File

@@ -1622,7 +1622,7 @@ window_raise_with_delay_callback (void *data)
&root_x, &root_y, &x, &y, &mask);
meta_error_trap_pop (window->display);
meta_window_get_outer_rect (window, &frame_rect);
meta_window_get_frame_rect (window, &frame_rect);
point_in_window = POINT_IN_RECT (root_x, root_y, frame_rect);
if (same_screen && point_in_window)
meta_window_raise (window);
@@ -2440,7 +2440,7 @@ event_callback (XEvent *event,
MetaRectangle frame_rect;
MetaGrabOp op;
meta_window_get_outer_rect (window, &frame_rect);
meta_window_get_frame_rect (window, &frame_rect);
west = device_event->root_x < (frame_rect.x + 1 * frame_rect.width / 3);
east = device_event->root_x > (frame_rect.x + 2 * frame_rect.width / 3);