cfg->win_width = event->configure.width;
cfg->win_height = event->configure.height;
+ cfg->win_pos_x = event->configure.x;
+ cfg->win_pos_y = event->configure.y;
/*
* Important:
log_err("Use saved window size");
gtk_window_set_default_size(GTK_WINDOW(mainwin),
cfg->win_width, cfg->win_height);
+ gtk_window_move(GTK_WINDOW(mainwin),
+ cfg->win_pos_x, cfg->win_pos_y);
}
gtk_widget_show_all(mainwin);