]> Eric's Git Repo - deskclocky.git/commitdiff
Made it so the window starts at 0,0
authorEricDWertz <EricDWertz@gmail.com>
Tue, 26 Apr 2016 02:06:03 +0000 (22:06 -0400)
committerEricDWertz <EricDWertz@gmail.com>
Tue, 26 Apr 2016 02:06:03 +0000 (22:06 -0400)
main.c

diff --git a/main.c b/main.c
index b897872744bca17072f626b9bf3a73280ca6ddd7..d6b1e3268a7dbaadf567dc2117384bbe86474609 100644 (file)
--- a/main.c
+++ b/main.c
@@ -773,7 +773,7 @@ int main( int argc, char **argv )
     gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
     gtk_widget_set_size_request(window,WINDOW_WIDTH,WINDOW_HEIGHT);
     gtk_widget_add_events(window, GDK_BUTTON_PRESS_MASK);
-    gtk_window_move(GTK_WINDOW(window),screen_width-WINDOW_WIDTH* 0.25,screen_height-WINDOW_HEIGHT* 0.25);
+    gtk_window_move( GTK_WINDOW(window), 0, 0 );
     gtk_window_set_type_hint(GTK_WINDOW(window),GDK_WINDOW_TYPE_HINT_DIALOG);
     g_signal_connect(G_OBJECT(window), "button-press-event", G_CALLBACK(clicked), NULL);