aboutsummaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index eaee6c0..150d8ef 100644
--- a/src/window.c
+++ b/src/window.c
@@ -151,6 +151,12 @@ cherry_window_set_dimension(CherryWindow *window, int width, int height)
}
}
+cherry_window_get_position(CherryWindow *window, int *x, int *y)
+{
+ CherryWidget *widget = (CherryWidget *) window;
+ cherry_widget_get_position(widget, x, y);
+}
+
void
cherry_window_set_position(CherryWindow *w, int x, int y)
{
@@ -164,7 +170,6 @@ cherry_window_set_position(CherryWindow *w, int x, int y)
}
void
-cherry_window_set_visible(CherryWindow *w, int visible)
cherry_window_set_visible(CherryWindow *window, int visible)
{
CherryApplication *app = cherry_application_get_running_app();