projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb4338
)
Set window default size.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 24 May 2017 19:43:02 +0000
(21:43 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 24 May 2017 19:43:02 +0000
(21:43 +0200)
src/config.def.h
patch
|
blob
|
history
src/main.c
patch
|
blob
|
history
diff --git
a/src/config.def.h
b/src/config.def.h
index
44f9351
..
cdb6ed5
100644
(file)
--- a/
src/config.def.h
+++ b/
src/config.def.h
@@
-52,3
+52,6
@@
#define SETTING_HOME_PAGE "about:blank"
#define MAXIMUM_HINTS 500
+/* default window dimensions */
+#define WIN_WIDTH 800
+#define WIN_HEIGHT 600
diff --git
a/src/main.c
b/src/main.c
index
d59f796
..
75affa8
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-682,6
+682,8
@@
static Client *client_new(WebKitWebView *webview, gboolean show)
(int)GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(c->window))));
}
+ gtk_window_set_default_size(GTK_WINDOW(c->window), WIN_WIDTH, WIN_HEIGHT);
+
completion_init(c);
map_init(c);