[hackers] [surf] Remove window hints settings || Quentin Rameau

From: <git_AT_suckless.org>
Date: Sun, 22 Nov 2015 03:00:54 +0100 (CET)

commit bd17d359d6a9eb2461a939a33d710b2f0dade4f1
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Nov 22 03:00:03 2015 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sun Nov 22 03:00:03 2015 +0100

    Remove window hints settings
    
    Setting minimum size to 1x1 is not necessary as this is the default.

diff --git a/surf.c b/surf.c
index 6c85c3e..bacf78f 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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;
 
_AT_@ -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));
 
Received on Sun Nov 22 2015 - 03:00:54 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 22 2015 - 03:12:11 CET