Hey,
This topic has probably been visited before but I think it's time for an
update. Does anyone use dzen with dwm? If so, could you share some
configs, tips, and/or tricks for combining these two programs.
Sincerely,
--
Antony Jepson / <[EMAIL PROTECTED]> / GPG Key: 0xFA10ED80
++ Legum servi
On 8/14/08, Szabolcs Nagy <[EMAIL PROTECTED]> wrote:
> what's the difference?
ah, never mind
i see what you meant
/me failed
On 8/14/08, Martin Hurton <[EMAIL PROTECTED]> wrote:
> Those other checks seems ok to me.
what's the difference?
either you assert Success==0, so the identifier 'Success' is not
needed anywhere, or using Success is mandatory
i don't see why would one mix the two.
On Thu, Aug 14, 2008 at 04:21:39PM +0200, Szabolcs Nagy wrote:
> On 8/14/08, Martin Hurton <[EMAIL PROTECTED]> wrote:
> > Can you apply the following patch too? According to spec the
> > XGetTransientForHint() function returns non zero value on success
> > while the Success value is defined as zero
On 8/14/08, Martin Hurton <[EMAIL PROTECTED]> wrote:
> Can you apply the following patch too? According to spec the
> XGetTransientForHint() function returns non zero value on success
> while the Success value is defined as zero (see /usr/include/X11/X.h).
I'm not quite sure about this change.
eg
Here is anothe little patch. No big change, just makes the drawtext()
function a bit more compact and efficient. Comments are welcome.
Cheers,
/Martin
diff -r a63cb246f35c dwm.c
--- a/dwm.c Thu Aug 14 12:36:49 2008 +0200
+++ b/dwm.c Thu Aug 14 15:44:56 2008 +0200
@@ -576,15 +576,14 @@
On Thu, Aug 14, 2008 at 12:41:30PM +0200, Premysl Hruby wrote:
> On (14/08/08 09:52), Szabolcs Nagy wrote:
> > To: dwm mail list
> > From: Szabolcs Nagy <[EMAIL PROTECTED]>
> > Subject: Re: [dwm] [patch] Minor code cleanup, part 2
> > Reply-To: dwm mail list
> > List-Id: dwm mail list
> >
> > O
On (14/08/08 09:52), Szabolcs Nagy wrote:
> To: dwm mail list
> From: Szabolcs Nagy <[EMAIL PROTECTED]>
> Subject: Re: [dwm] [patch] Minor code cleanup, part 2
> Reply-To: dwm mail list
> List-Id: dwm mail list
>
> On 8/14/08, Martin Hurton <[EMAIL PROTECTED]> wrote:
> > if((rettrans = XGet
On 8/14/08, Martin Hurton <[EMAIL PROTECTED]> wrote:
> if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success))
> - for(t = clients; t && t->win != trans; t = t->next);
> + t = getclient(trans);
nice
what about
- if((rettrans = XGetTransientForHint(dpy,