[dwm] dmenu, slock patches; slock DPMS crash

From: Peter Hartlich <sgkkr_AT_hartlich.com>
Date: Mon, 7 Apr 2008 22:51:15 +0200

Hi,

Three patches are attached:

dmenu_run.patch:
        - replace $* with "$@" so dmenu_run -p "foo bar" works

dmenu_path.patch:
        - no need for ${file##*/} string replacement
        - sort -u instead of sort | uniq
        - quote CACHE variable (HOME may contain an IFS character)
        - error checking with &&

slock.patch:
        - use numpad code from dmenu

Also, with the new DPMS code from changeset 31, slock crashes here
(X.org server 1.4.0.90, DPMS disabled in xorg.conf):

| X Error of failed request: BadMatch (invalid parameter attributes)
| Major opcode of failed request: 136 (DPMS)
| Minor opcode of failed request: 6 (DPMSForceLevel)
| Serial number of failed request: 27
| Current serial number in output stream: 28

Regards,
Peter

Received on Mon Apr 07 2008 - 22:51:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:31:51 UTC