Go to file
Greg Reagle f7e358280c surf: see hover URL without changing title
On Tue, Jan 27, 2015, at 11:52 AM, Christoph Lohmann wrote:
> Then hook to the window leaving event in GTK or X11 and set the title to
> your needs. I will welcome a patch.

Patch is attached.  I am a total novice in GTK programming, so I don't
know what type the callback function is supposed to be (hence the void
pointers) or whether I registered it properly.  But it does work well
for me.

--
http://www.fastmail.com - Access your email from home and the web

From a33f06da092bf920b6a286ea7688b32944d79a50 Mon Sep 17 00:00:00 2001
From: Greg Reagle <greg.reagle@umbc.edu>
Date: Tue, 27 Jan 2015 13:22:15 -0500
Subject: [PATCH] ensure that window title is web page title (not hover link)
 when leaving window

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-02-03 17:25:26 +01:00
FAQ.md Add a FAQ to surf. 2014-08-04 17:54:00 +02:00
LICENSE Adding me to the LICENSE file. 2012-12-03 11:25:31 +01:00
Makefile Making dist work again. 2013-02-10 19:40:14 +01:00
README Add information about the dmenu requirement. 2014-05-17 19:24:25 +02:00
TODO.md Updating the TODO file. 2013-06-21 07:02:45 +02:00
arg.h Add options for scriptfile, cookiefile and stylefile. And changing the default 2012-10-31 21:13:50 +01:00
config.def.h Add some description for the plumb feature. 2015-01-19 22:16:07 +01:00
config.mk Newer libc want _DEFAULT_SOURCE. 2015-01-17 07:21:15 +01:00
surf-open.sh Fix output redirection in surf-open.sh 2013-03-14 06:33:02 +01:00
surf.1 Describe the web page indicators too. 2015-01-26 21:47:18 +01:00
surf.c surf: see hover URL without changing title 2015-02-03 17:25:26 +01:00
surf.png adding surf-logo. 2010-03-24 21:05:11 +01:00

README

surf - simple webkit-based browser
==================================
surf is a simple Web browser based on WebKit/GTK+.

Requirements
------------
In order to build surf you need GTK+ and Webkit/GTK+ header files.

In order to use the functionality of the url-bar, also install dmenu[0].

Installation
------------
Edit config.mk to match your local setup (surf is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install surf (if
necessary as root):

    make clean install

Running surf
------------
run
	surf [URI]

See the manpage for further options.

Running surf in tabbed
----------------------
For running surf in tabbed[1] there is a script included in the distribution,
which is run like this:

	surf-open.sh [URI]

Further invocations of the script will run surf with the specified URI in this
instance of tabbed.

[0] http://tools.suckless.org/dmenu
[1] http://tools.suckless.org/tabbed