[dev] [surf] patch - setprop

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Mon, 26 Oct 2009 16:52:37 -0700

As it is now, if the user hits escape while entering a URI or search
term, we get an xprop warning. If the user enters a term with spaces,
only the first word is taken. The first patch
(surf-tip-setprop_fix.diff) fixes this by using dmenu in the same way
as dmenu_run, and adding quoting.

The second patch (surf-tip-setprop_file.diff), which is meant to be
applied on top of the first, adds another argument to SETPROP, so a
file can be passed in. In this manner you can load dmenu with your
bookmarks or maybe common search terms. It defaults to /dev/null so
the behavior is the same as before unless changed. I split this out
into a second patch because I see it as optional, as opposed to a fix.

Hope these help,
-emg

Received on Mon Oct 26 2009 - 23:52:37 UTC

This archive was generated by hypermail 2.2.0 : Tue Oct 27 2009 - 00:00:03 UTC