about summary refs log tree commit diff
path: root/surf.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-22 03:00:03 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-22 03:00:03 +0100
commitbd17d359d6a9eb2461a939a33d710b2f0dade4f1 (patch)
tree795aa3980725e9f0bf88c47fb1d25d67f61b3b0c /surf.c
parentStyle indentation fix (diff)
downloadsurf-bd17d359d6a9eb2461a939a33d710b2f0dade4f1.tar.gz
surf-bd17d359d6a9eb2461a939a33d710b2f0dade4f1.tar.bz2
surf-bd17d359d6a9eb2461a939a33d710b2f0dade4f1.zip
Remove window hints settings
Setting minimum size to 1x1 is not necessary as this is the default.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index 6c85c3e..bacf78f 100644
--- a/surf.c
+++ b/surf.c
@@ -905,7 +905,6 @@ winevent(GtkWidget *w, GdkEvent *e, Client *c)
 void
 showview(WebKitWebView *v, Client *c)
 {
-	GdkGeometry hints = { 1, 1 };
 	GdkRGBA bgcolor = { 0 };
 	GdkWindow *gwin;
 
@@ -916,8 +915,6 @@ showview(WebKitWebView *v, Client *c)
 	c->win = createwindow(c);
 
 	gtk_container_add(GTK_CONTAINER(c->win), GTK_WIDGET(c->view));
-	gtk_window_set_geometry_hints(GTK_WINDOW(c->win), NULL, &hints,
-	                              GDK_HINT_MIN_SIZE);
 	gtk_widget_show_all(c->win);
 	gtk_widget_grab_focus(GTK_WIDGET(c->view));