mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Set default window size to 800x600
This will be the size that the window becomes when initially unmaximized
This commit is contained in:
@@ -73,6 +73,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||
gtk_window_set_title(GTK_WINDOW(window), "atom");
|
||||
gtk_window_set_default_size(GTK_WINDOW(window), 800, 600);
|
||||
gtk_window_maximize(GTK_WINDOW(window));
|
||||
|
||||
g_signal_connect(window, "focus", G_CALLBACK(&HandleFocus), NULL);
|
||||
|
||||
Reference in New Issue
Block a user