[dev] [surf][patch] c->uri is unused

2013-09-12 Thread David Dufberg Tøttrup
0001-c-uri-is-unused.patch Description: 0001-c-uri-is-unused.patch

[dev] [surf][patch] MODKEY + button 1 opens new window

2013-09-06 Thread David Dufberg Tøttrup
Hi! I don't have button 2 (and emulate 3 button mouse sucks). With this patch you can open a new window if you hold MODKEY and click the link. Apply if it makes sense. Sincerely, David surf-modkey-click.diff Description: surf-modkey-click.diff

Re: [dev] [libsl][patch] drw_rect()

2013-07-01 Thread David Dufberg Tøttrup
On Jun 28 2013, Anselm R Garbe wrote: Hi David, On 28 June 2013 12:51, David Dufberg Tøttrup wrote: Hi! I assume drw_rect()'s intended purpose isn't to only draw the small squares in the dwm bar. Patch attached. As dwm uses libsl, your patch would break dwm's approach to d

[dev] [libsl][patch] drw_rect()

2013-06-28 Thread David Dufberg Tøttrup
Hi! I assume drw_rect()'s intended purpose isn't to only draw the small squares in the dwm bar. Patch attached. David libsl-drw_rect.diff Description: libsl-drw_rect.diff

Re: [dev] [tabbed] buttonpress on border bug

2013-05-18 Thread David Dufberg Tøttrup
On May 18 2013, David Dufberg Tøttrup wrote: tabbed recieves buttonpress events on the border, with a negative x value. The consequence is that tabbed interprets this as a press on the leftmost item in the tab bar. Patch attached. Sincerely, David Of course I forgot to attach the patch

[dev] [tabbed] buttonpress on border bug

2013-05-18 Thread David Dufberg Tøttrup
tabbed recieves buttonpress events on the border, with a negative x value. The consequence is that tabbed interprets this as a press on the leftmost item in the tab bar. Patch attached. Sincerely, David

Re: [dev] [9base][awk] printf and utf-8

2013-01-22 Thread David Dufberg Tøttrup
Speaking of the devil; if a string contains an invalid UTF-8 char, substr gets a really wierd behavior: $ echo | ~/program/9base/awk/awk '{s = sprintf("asdf%casdf", 195); printf("\"%s\"\n", substr(s, 6, 4)); print s;}' "" asdfÃasdf Try changing the second and third arg of substr (set length to