Re: [dev] [surf] [patch] Close stdout after printing XID

2012-02-20 Thread Truls Becken
On 2012-02-19, at 13:47, Abby Cedar wrote: >> Am I missing something? Why not just use flose(stdout)? > > Using only fclose would result in Bad file descriptor errors on future > attempts to write to stdout. freopen is cleaner. And so it becomes a philosophical question. When you close a file d

Re: [dev] Re: ... and then i go and spoil it all by saying somethingstupid ...

2012-02-20 Thread Dieter Plaetinck
On Wed, 15 Feb 2012 19:02:20 +0100 Jakub Lach wrote: > Dnia 15 lutego 2012 17:54 hiro <23h...@googlemail.com> napisał(a): > > > > Now you get sucked less, I guess. > > > > It's not a bug, it's a feature. > > Deleted relationship is debugged relationship. > > awesome thread

Re: [dev] [surf] [patch] Close stdout after printing XID

2012-02-20 Thread Abby Cedar
> And so it becomes a philosophical question. When you close a file descriptor, > it's because you're not going to use it any more. If the programmer > forgets > and writes to stdout anyway, is it better to have the program exit with an > error, or to hide the problem so that nobody discovers the

[dev] [dwm] question regarding floating clients being always on top

2012-02-20 Thread Uli Armbruster
Hi there I'm willing to solve this by myself, despite my lack of real C-knowledge, but I need some hints at least: By default, floating clients are always on top of tiled clients. I'd like to change this behavior to make it possible to use floating and tiled clients together (either having the

Re: [dev] [dwm] question regarding floating clients being always on top

2012-02-20 Thread Ivan Kanakarakis
On 20 February 2012 15:16, Uli Armbruster wrote: > Hi there > > I'm willing to solve this by myself, despite my lack of real C-knowledge, > but I need some hints at least: > > By default, floating clients are always on top of tiled clients. I'd like > to change this behavior to make it possible to

Re: [dev] [dwm] question regarding floating clients being always on top

2012-02-20 Thread Uli Armbruster
* Ivan Kanakarakis [20.02.2012 14:20]: > read how focus works (focus(..); unfocus(..);) > and how and when XRaiseWindow is called Thanks Ivan!

Re: [dev] [webpage] Some pages are coming up blank

2012-02-20 Thread Anselm R Garbe
On 19 February 2012 00:07, Daniel Thau wrote: > The webpage for a number of dwm patches - for example, attachabove and > push - are blank.  However, there are corresponding .md files in the hg > repo, and so I expect there should be content there.  I figured it was > worth reporting. Thanks, fixe

[dev] [swerc] templates per site

2012-02-20 Thread J Thigpen (cdarwin)
I decided to play a bit with swerc and found that I would like to override the template files on a per site basis. I have included a simple patch which should do just that. It's just a modification of the get_tpl_file function in bin/util.rc . The new function looks in the _werc/tpl directory for t