summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core.c b/src/core.c
index 399fe6d..dddcf68 100644
--- a/src/core.c
+++ b/src/core.c
@@ -24,10 +24,10 @@
#include "workspace.h"
void
-meta_core_get_frame_size (Display *xdisplay,
- Window frame_xwindow,
- int *width,
- int *height)
+meta_core_get_client_size (Display *xdisplay,
+ Window frame_xwindow,
+ int *width,
+ int *height)
{
MetaDisplay *display;
MetaWindow *window;
@@ -39,9 +39,9 @@ meta_core_get_frame_size (Display *xdisplay,
meta_bug ("No such frame window 0x%lx!\n", frame_xwindow);
if (width)
- *width = window->frame->rect.width;
+ *width = window->rect.width;
if (height)
- *height = window->frame->rect.height;
+ *height = window->rect.height;
}
MetaFrameFlags