summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be4eb97)
raw | patch | inline | side by side (parent: be4eb97)
author | EricDWertz <EricDWertz@gmail.com> | |
Tue, 26 Apr 2016 02:06:03 +0000 (22:06 -0400) | ||
committer | EricDWertz <EricDWertz@gmail.com> | |
Tue, 26 Apr 2016 02:06:03 +0000 (22:06 -0400) |
main.c | patch | blob | history |
index b897872744bca17072f626b9bf3a73280ca6ddd7..d6b1e3268a7dbaadf567dc2117384bbe86474609 100644 (file)
--- a/main.c
+++ b/main.c
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);