Re: [dwm] Re: New mailing list

2009-05-20 Thread Premysl Hruby
On (20/05/09 11:53), Uriel wrote: > To: dwm mail list > From: Uriel > Subject: Re: [dwm] Re: New mailing list > Reply-To: dwm mail list > List-Id: dwm mail list > > The problem is not dwm@ and wmii@, the problem is all the other stuff > that is unrelated to either, the only two logical and con

Re: [dwm] Re: New mailing list

2009-05-20 Thread Premysl Hruby
On (20/05/09 11:34), yy wrote: > To: dwm mail list > From: yy > Subject: Re: [dwm] Re: New mailing list > Reply-To: dwm mail list > List-Id: dwm mail list > > 2009/5/20 Szabolcs Nagy : > > On 5/20/09, Anselm R Garbe wrote: > >> Let's have hackers@ be some meta list which sends to dwm@ and wmi

Re: [dwm] Re: New mailing list

2009-05-20 Thread Premysl Hruby
On (20/05/09 10:04), Anselm R Garbe wrote: > To: dwm mail list , wmii mail list > From: Anselm R Garbe > Subject: Re: [dwm] Re: New mailing list > Reply-To: dwm mail list > List-Id: dwm mail list > > Ok, I meant the following: > > Let's have hackers@ be some meta list which sends to dwm@ and

Re: [dwm] irssi + screen + urxvt in dwm -> window hint urgent not working

2009-04-07 Thread Premysl Hruby
On (07/04/09 10:23), Zhengning Jiang wrote: > To: dwm@suckless.org > From: Zhengning Jiang > Subject: [dwm] irssi + screen + urxvt in dwm -> window hint urgent not working > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi, > > i have a little problem regarding window hint urgent with m

Re: [dwm] minimal communication

2009-03-07 Thread Premysl Hruby
On (06/03/09 21:27), Neale Pickett wrote: > To: Ian Daniher > Cc: dwm mail list > From: Neale Pickett > Subject: Re: [dwm] minimal communication > User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) > Reply-To: dwm mail list > List-Id: dwm mail list > > Ian Daniher writes: > > > Why d

Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org to you have been bouncing]

2009-03-07 Thread Premysl Hruby
On (07/03/09 11:50), Joerg van den Hoff wrote: > To: dwm mail list > Cc: Premysl Hruby > From: Joerg van den Hoff > Subject: Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org > to you have been bouncing] ... > > Wow, his MTA (or maybe MUA) is s

Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org to you have been bouncing]

2009-03-06 Thread Premysl Hruby
On (06/03/09 17:24), Joerg van den Hoff wrote: > To: dwm mail list > From: Joerg van den Hoff > Subject: Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org > to you have been bouncing] > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Mutt/1.5.18 (2008-05-17)

Re: [dwm] Issues with border

2009-02-19 Thread Premysl Hruby
On (19/02/09 13:34), Anselm R Garbe wrote: > To: dwm mail list > From: Anselm R Garbe > Subject: [dwm] Issues with border > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi, > > I dislike the recent addition of the 0 border if only 1 tiled client > is in the view, reasons: > > - gaine

Re: [dwm] Tag masks

2009-02-17 Thread Premysl Hruby
On (17/02/09 17:04), Jake Todd wrote: > To: dwm@suckless.org > From: Jake Todd > Subject: [dwm] Tag masks > Reply-To: dwm mail list > List-Id: dwm mail list > > I'm having some trouble with tag masks. From what I understand, they > allow you to place certain windows on specific tags when they a

Re: [dwm] [PATCH] small fix in propertynotify

2009-02-12 Thread Premysl Hruby
On (12/02/09 17:16), Enno Gottox Boland wrote: > To: dwm mail list > From: Enno Gottox Boland > Subject: [dwm] [PATCH] small fix in propertynotify > Reply-To: dwm mail list > List-Id: dwm mail list > > looks like a typo. > Yes, it was. Now it's gone thanks to you. -Ph -- Premysl "Anydot"

Re: [dwm] OT: Bottom-posting and reply trimming (was: Bottom Stack Patch)

2009-02-10 Thread Premysl Hruby
On (10/02/09 06:51), Kurt H Maier wrote: > To: dwm mail list > From: Kurt H Maier > Subject: Re: [dwm] Bottom-posting and reply trimming (was: Bottom Stack Patch) > Reply-To: dwm mail list > List-Id: dwm mail list > > Please mark mailing-list etiquette posts as off-topic, so my mail > client a

Re: [dwm] Focus follows mouse

2009-01-20 Thread Premysl Hruby
On (20/01/09 12:08), sta...@cs.tu-berlin.de wrote: > To: dwm mail list > From: sta...@cs.tu-berlin.de > Subject: [dwm] Focus follows mouse > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Mutt/1.5.18 (2008-05-17) > > Hi, > > At the time I switched from wmii back to dwm I was ev

Re: [dwm] Re: What happened here?

2009-01-20 Thread Premysl Hruby
On (20/01/09 09:49), henry atting wrote: > To: dwm@suckless.org > From: henry atting > Subject: [dwm] Re: What happened here? > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) > Cancel-Lock: sha1:WaXw8qx3RxRmlkx9dQJG0B9fg4s= > > I

Re: [dwm] urxvt and show/hide bar

2008-11-10 Thread Premysl Hruby
On (11/11/08 01:01), Carlos Pita wrote: > To: dwm mail list > From: Carlos Pita <[EMAIL PROTECTED]> > Subject: [dwm] urxvt and show/hide bar > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi all, > > I usually prefer to keep the bar hidden so I've written a tiny patch > in order to sho

Re: [dwm] patch to not reparent children to init

2008-11-06 Thread Premysl Hruby
On (06/11/08 09:53), Neale Pickett wrote: > To: dwm mail list > From: Neale Pickett <[EMAIL PROTECTED]> > Subject: Re: [dwm] patch to not reparent children to init > User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) > Reply-To: dwm mail list > List-Id: dwm mail list > > "Donald Ch

Re: [dwm] How to detect TAG activity?

2008-11-04 Thread Premysl Hruby
On (04/11/08 11:04), [EMAIL PROTECTED] wrote: > To: Matthias Kirschner <[EMAIL PROTECTED]>, dwm@suckless.org > From: [EMAIL PROTECTED] > Subject: Re: [dwm] How to detect TAG activity? > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Mutt/1.5.18 (2008-05-17) > > Hello Matthias, >

Re: [dwm] How to detect TAG activity?

2008-11-04 Thread Premysl Hruby
On (04/11/08 16:37), yy wrote: > To: dwm mail list > From: yy <[EMAIL PROTECTED]> > Subject: Re: [dwm] How to detect TAG activity? > Reply-To: dwm mail list > List-Id: dwm mail list > > 2008/11/4 markus schnalke <[EMAIL PROTECTED]>: > > I think it is worth to add this script (or an improved ver

Re: [dwm] How to detect TAG activity?

2008-11-03 Thread Premysl Hruby
t; Kopete does not seem to set the URGENT flag but it > offers tha ability to launch an app when a new message is received. > > Would it be possible to write a shell script that sends an "URGENT" flag to a > specific > window/tag ? > > Veselin > > On Mon, N

Re: [dwm] How to detect TAG activity?

2008-11-03 Thread Premysl Hruby
On (03/11/08 14:05), [EMAIL PROTECTED] wrote: > To: dwm@suckless.org > From: [EMAIL PROTECTED] > Subject: [dwm] How to detect TAG activity? > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Mutt/1.5.18 (2008-05-17) > > Hello, > I'm using dwm-5.2, my question is related to window

Re: [dwm] Notifications

2008-09-30 Thread Premysl Hruby
On (29/09/08 17:18), Carlos Pita wrote: > To: dwm@suckless.org > From: Carlos Pita <[EMAIL PROTECTED]> > Subject: [dwm] Notifications > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi, > > I use irssi+bitlbee to cover all my im/irc needs. Up til now my window > manager was ratpoison and

Re: [dwm] move/resize keyboard control

2008-09-25 Thread Premysl Hruby
On (25/09/08 19:36), Claudio wrote: > To: dwm mail list > From: Claudio <[EMAIL PROTECTED]> > Subject: [dwm] move/resize keyboard control > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi to all dwm users, >i was trying to get the moveresize patch from this page[0] but it seems > to

Re: [dwm] malloc'ed client in manage()

2008-09-09 Thread Premysl Hruby
On (09/09/08 09:13), Szabolcs Nagy wrote: > To: dwm mail list > From: Szabolcs Nagy <[EMAIL PROTECTED]> > Subject: Re: [dwm] malloc'ed client in manage() > Reply-To: dwm mail list > List-Id: dwm mail list > > On 9/8/08, Anselm R Garbe <[EMAIL PROTECTED]> wrote: > >> but if we really care about

Re: [dwm] suckless mail

2008-08-26 Thread Premysl Hruby
Hi, I'm personally using mutt+msmtp+isync for mail, but maybe you can be happy with something like msmtp+fetchmail+mailx(light cli mail reader) -Ph On (26/08/08 18:11), pancake wrote: > To: dwm@suckless.org > From: pancake <[EMAIL PROTECTED]> > Subject: [dwm] suckless mail > Reply-To: dwm mail l

Re: [dwm] Feature request: any way to change default values in config

2008-08-23 Thread Premysl Hruby
On (23/08/08 17:51), Jan Kaliszewski wrote: > To: dwm mail list > From: Jan Kaliszewski <[EMAIL PROTECTED]> > Subject: Re: [dwm] Feature request: any way to change default values in config > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Opera Mail/9.51 (Linux) > > * If we say a

Re: [dwm] Bug: trying to toggletag when there is no focused window => dwm crashes

2008-08-22 Thread Premysl Hruby
On (22/08/08 03:33), Jan Kaliszewski wrote: > To: dwm@suckless.org > From: Jan Kaliszewski <[EMAIL PROTECTED]> > Subject: [dwm] Bug: trying to toggletag when there is no focused window => dwm > crashes > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Opera Mail/9.51 (Linux)

Re: [dwm] is wmii dead?

2008-08-17 Thread Premysl Hruby
On (17/08/08 14:48), rundstutzen wrote: > To: dwm@suckless.org > From: rundstutzen <[EMAIL PROTECTED]> > Subject: [dwm] is wmii dead? > User-Agent: Thunderbird 2.0.0.16 (X11/20080724) > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi folks, > > the question arised in another email here.

Re: [dwm] current hg tip

2008-08-15 Thread Premysl Hruby
On (15/08/08 13:07), Martin Hurton wrote: > To: dwm@suckless.org > From: Martin Hurton <[EMAIL PROTECTED]> > Subject: [dwm] current hg tip > Mail-Followup-To: dwm@suckless.org > Reply-To: dwm mail list > List-Id: dwm mail list > User-Agent: Mutt/1.5.18 (2008-05-17) > > I think the commit bca7a55

Re: [dwm] [patch] Minor code cleanup, part 2

2008-08-14 Thread Premysl Hruby
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

Re: [dwm] [patch] Minor code cleanup

2008-08-13 Thread Premysl Hruby
18 (2008-05-17) > > On Wed, Aug 13, 2008 at 04:43:46PM +0200, Premysl Hruby wrote: > > On (13/08/08 16:21), Enno Gottox Boland wrote: > > > To: dwm mail list > > > From: Enno Gottox Boland <[EMAIL PROTECTED]> > > > Subject: Re: [dwm] [patch] Minor

Re: [dwm] [patch] Minor code cleanup

2008-08-13 Thread Premysl Hruby
On (13/08/08 16:21), Enno Gottox Boland wrote: > To: dwm mail list > From: Enno Gottox Boland <[EMAIL PROTECTED]> > Subject: Re: [dwm] [patch] Minor code cleanup > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi! > > 2008/8/13, Martin Hurton <[EMAIL PROTECTED]>: > > Can arg really ever

Re: [dwm] some proposed changes

2008-08-10 Thread Premysl Hruby
On (09/08/08 12:55), yy wrote: > To: dwm mail list > From: yy <[EMAIL PROTECTED]> > Subject: [dwm] some proposed changes > Reply-To: dwm mail list > List-Id: dwm mail list > > Attached there is a patch with some changes to dwm.c. It uses > XLowerWindow and XMoveResizeWindow instead of configure

Re: [dwm] hgiki

2008-07-19 Thread Premysl Hruby
On (19/07/08 11:52), Yoshi Rokuko wrote: > To: dwm mail list > From: Yoshi Rokuko <[EMAIL PROTECTED]> > Subject: [dwm] hgiki > Organization: Black & Red Inc. > Reply-To: dwm mail list > List-Id: dwm mail list > > Hi, > > I was trying to add a screenshot to the hg wiki, the screenshot is > noth

Re: [dwm] mailing list changed

2008-07-17 Thread Premysl Hruby
On (17/07/08 14:49), Jacek Hoffman wrote: > To: dwm mail list <[EMAIL PROTECTED]> > From: Jacek Hoffman <[EMAIL PROTECTED]> > Subject: Re: [dwm] mailing list changed > > Hi, > > I have to leave my mailbox unattended for some weeks. In order to > avoid mailbox overloading perhaps I have to sign-ou

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
On (26/06/08 17:24), Sander van Dijk wrote: > To: dynamic window manager > From: Sander van Dijk <[EMAIL PROTECTED]> > Subject: Re: [dwm] dmenu - simplification of cistrstr and kpress > Reply-To: dynamic window manager > List-Id: dynamic window manager > > That would be better, but then it stil

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
On (26/06/08 16:33), Sander van Dijk wrote: > To: dynamic window manager > From: Sander van Dijk <[EMAIL PROTECTED]> > Subject: Re: [dwm] dmenu - simplification of cistrstr and kpress > Reply-To: dynamic window manager > List-Id: dynamic window manager > > On 6/2

[dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
Hi, it also defines feature macro _BSD_SOURCE, so usleep and strdup is declared. patch attached. -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/ diff -r 0088cc3243e3 config.mk --- a/config.mk Sat Jun 21 16:43:12 2008 +0100 +++ b/config.mk Wed Jun 25 23:09:40 2008 +0200 @@ -19,7 +19,7 @@

Re: [dwm] dmenu directory test

2008-06-14 Thread Premysl Hruby
On (14/06/08 16:20), James Turner wrote: > To: dynamic window manager > From: James Turner <[EMAIL PROTECTED]> > Subject: Re: [dwm] dmenu directory test > > On Sat, Jun 14, 2008 at 10:16:03PM +0200, Peter Hartlich wrote: > > Hi, > > > > > [...] I was wondering if it would make sense to add a tes

Re: [dwm] patch

2008-06-10 Thread Premysl Hruby
On (10/06/08 10:51), Anselm R. Garbe wrote: > To: dynamic window manager > From: "Anselm R. Garbe" <[EMAIL PROTECTED]> > Subject: Re: [dwm] patch > > On Tue, Jun 10, 2008 at 10:38:55AM +0200, Premysl Hruby wrote: > > - reintroducion of union Arg > > I

[dwm] patch

2008-06-10 Thread Premysl Hruby
Hi, I just created patch which includes some minor patches, maybe at least some of them can be included. it contains these parts: - reintroducion of union Arg - join of focusnext and focusprev into one function which use parameter - reenabling -Os and stripping of build (to save binary size) - ev

[dwm] another little patch :)

2008-06-03 Thread Premysl Hruby
Hi, Patch: === diff -r f5140606987d dwm.c --- a/dwm.c Tue Jun 03 21:07:08 2008 +0200 +++ b/dwm.c Tue Jun 03 23:07:56 2008 +0200 @@ -555,7 +555,7 @@ void drawtext(const char *text, ulong col[ColLast], Bool invert) {

[dwm] slight cleanup of focus()

2008-06-03 Thread Premysl Hruby
Hi, patch is attached -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/ diff -r 81b40dd1b766 dwm.c --- a/dwm.c Mon Jun 02 12:19:02 2008 +0200 +++ b/dwm.c Tue Jun 03 21:22:35 2008 +0200 @@ -612,7 +612,7 @@ void focus(Client *c) { - if(!c || (c && c->isbanned)) + if(!c || c->isbanned) f

Re: [dwm] [patch] simplification to drawtext

2008-06-02 Thread Premysl Hruby
On (02/06/08 09:56), Enno Gottox Boland wrote: > To: dynamic window manager > From: Enno Gottox Boland <[EMAIL PROTECTED]> > Subject: Re: [dwm] [patch] simplification to drawtext > Reply-To: dynamic window manager > List-Id: dynamic window manager > > whoops... > > memcpy(&buf[MAX(0, len - 3)]

Re: [dwm] [patch] simplification to drawtext

2008-06-01 Thread Premysl Hruby
On (01/06/08 19:30), Enno Gottox Boland wrote: > To: dynamic window manager > From: Enno Gottox Boland <[EMAIL PROTECTED]> > Subject: Re: [dwm] [patch] simplification to drawtext > Reply-To: dynamic window manager > List-Id: dynamic window manager > > beware that it should be > > memcpy(&buf[M

Re: [dwm] [patch] simplification to drawtext

2008-06-01 Thread Premysl Hruby
On (01/06/08 12:38), Enno Gottox Boland wrote: > To: dynamic window manager > From: Enno Gottox Boland <[EMAIL PROTECTED]> > Subject: [dwm] [patch] simplification to drawtext > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Hi! > > Here's a small simplification to drawt

[dwm] Unused variable Client.flags

2008-05-31 Thread Premysl Hruby
Hi, i found that Client.flags is unused and can be removed. Patch attached. -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/ diff -r 2c5c99803c2e dwm.c --- a/dwm.c Sat May 31 17:37:13 2008 +0100 +++ b/dwm.c Sat May 31 22:16:32 2008 +0200 @@ -69,7 +69,6 @@ int x, y, w, h; int basew, bas

Re: [dwm] using bitaray for tags (PATCH)

2008-05-21 Thread Premysl Hruby
On (20/05/08 11:22), Kurt H Maier wrote: > To: dynamic window manager > From: Kurt H Maier <[EMAIL PROTECTED]> > > C has bitfield support inside structs: > > unsigned tagsapplied :8; > > and replace 8 with whatever value you want Not really with whatever value, only that values so whole variab

Re: [dwm] using bitaray for tags (PATCH)

2008-05-21 Thread Premysl Hruby
ager > List-Id: dynamic window manager > > Premysl Hruby <[EMAIL PROTECTED]> wrote: > > > > This is realization of Gottox's proposal discuted on IRC today. > > It handles tags not as Bool [], but as bit-array saved in int. > > I read, that bit-arrays are

Re: [dwm] using bitaray for tags (PATCH)

2008-05-21 Thread Premysl Hruby
On (21/05/08 08:27), Enno Gottox Boland wrote: > To: dynamic window manager > From: Enno Gottox Boland <[EMAIL PROTECTED]> > Subject: Re: [dwm] using bitaray for tags (PATCH) > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Here's my version of a bitarray patch. Please r

Re: [dwm] using bitaray for tags (PATCH)

2008-05-20 Thread Premysl Hruby
On (20/05/08 11:22), Kurt H Maier wrote: > To: dynamic window manager > From: Kurt H Maier <[EMAIL PROTECTED]> > Subject: Re: [dwm] using bitaray for tags (PATCH) > Reply-To: dynamic window manager > List-Id: dynamic window manager > > C has bitfield support inside structs: > > unsigned tagsap

Re: [dwm] using bitaray for tags (PATCH)

2008-05-20 Thread Premysl Hruby
On (20/05/08 11:22), Kurt H Maier wrote: > To: dynamic window manager > From: Kurt H Maier <[EMAIL PROTECTED]> > Subject: Re: [dwm] using bitaray for tags (PATCH) > Reply-To: dynamic window manager > List-Id: dynamic window manager > > C has bitfield support inside structs: > > unsigned tagsap

[dwm] using bitaray for tags (PATCH)

2008-05-20 Thread Premysl Hruby
Hi, This is realization of Gottox's proposal discuted on IRC today. It handles tags not as Bool [], but as bit-array saved in int. There's only one problem, as I don't find easy solution (in compile time) for check if there's no more tags than sizeof(int)*8. Maybe it can be "asserted" with somet

Re: [dwm] way towards 5.0

2008-05-19 Thread Premysl Hruby
On (19/05/08 20:34), Anselm R. Garbe wrote: > To: dynamic window manager > From: "Anselm R. Garbe" <[EMAIL PROTECTED]> > > Well, for mainstream dwm my opinion has always been to stick to > mouse only. But I had occasional cases when I'd like to have > keyboard driven resizals as well, esp. when h

Re: [dwm] lost keyboard with dmenu

2008-05-19 Thread Premysl Hruby
On (19/05/08 11:16), pancake wrote: > I usually install new versions of applications in my PREFIX, and dmenu > needs to update most of time the cache. When this happens, dmenu takes > the keyboard input and it's impossible to open a terminal or type things > in a chat, etc.. > > The 'esc' key is n

Re: [dwm] more consistent codestyle patch

2008-05-14 Thread Premysl Hruby
On (14/05/08 16:24), Kai Grossjohann wrote: > To: dynamic window manager > From: Kai Grossjohann <[EMAIL PROTECTED]> > Subject: Re: [dwm] more consistent codestyle patch > User-Agent: Thunderbird 2.0.0.14 (X11/20080505) > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Ma

Re: [dwm] Java patch

2008-04-29 Thread Premysl Hruby
On (29/04/08 11:27), Anselm R. Garbe wrote: > To: dynamic window manager > From: "Anselm R. Garbe" <[EMAIL PROTECTED]> > Subject: Re: [dwm] Java patch > User-Agent: Mutt/1.5.13 (2006-08-11) > Reply-To: dynamic window manager > List-Id: dynamic window manager > > On Sun, Apr 27, 2008 at 01:43:14

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-27 Thread Premysl Hruby
On (27/04/08 20:33), yy wrote: > To: dynamic window manager > From: yy <[EMAIL PROTECTED]> > Subject: Re: [dwm] Yet another simplification, this time sel/prevtags > Reply-To: dynamic window manager > List-Id: dynamic window manager > > After the last change in hg tip, viewprev is the only way t

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-27 Thread Premysl Hruby
On (27/04/08 19:58), Anselm R. Garbe wrote: > With the current change in mind, do we still need viewprev()? Short answer: yes, we do :) Long answer: yes, we do because: - you are not able to see previous tagset if you have currently selected more than one tag - for switching to pr

[dwm] small cleanup of drawtext()

2008-04-27 Thread Premysl Hruby
Hi, I do small cleanup of drawtext(): - buf[] is not needed to be global - there's no need to end buf[] with zero byte, as all function take length parameter - w > dc.w can be true iff length of printed text is zero -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/ diff -r 042cef9c6ace dw

Re: [dwm] bloq may used to ignore keybindings

2008-04-23 Thread Premysl Hruby
On (23/04/08 14:18), pancake wrote: > To: dwm@suckless.org > From: pancake <[EMAIL PROTECTED]> > Subject: [dwm] bloq may used to ignore keybindings > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Recently I tried wmii (for a few minutes :P) and notice that if > I press b

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-20 Thread Premysl Hruby
On (20/04/08 21:49), yy wrote: > To: dynamic window manager > From: yy <[EMAIL PROTECTED]> > Subject: Re: [dwm] Yet another simplification, this time sel/prevtags > Reply-To: dynamic window manager > List-Id: dynamic window manager > > I like this change, good work Premysl! But once you are usi

[dwm] Yet another simplification, this time sel/prevtags

2008-04-20 Thread Premysl Hruby
Hi, attached patch makes one array for both sel and prevtags. So there is no need to swap them in memory in view() as we only change seltags pointer to point viewtags[0] or viewtags[1]. It also with little change can support arbitrary number of saved tags set (3 save position can be usable, with

Re: [dwm] Compile time initialization of lt and geom

2008-04-20 Thread Premysl Hruby
On (20/04/08 15:44), yy wrote: > To: dynamic window manager > From: yy <[EMAIL PROTECTED]> > Subject: Re: [dwm] Compile time initialization of lt and geom > > 2008/4/20, Premysl Hruby <[EMAIL PROTECTED]>: > > Hi, > > > > both Layout *lt and

[dwm] Anothor (this time semi-) simplification

2008-04-20 Thread Premysl Hruby
Hi, this patch creates macros MAX and MIN, and use it where it is possible. -Ph diff -r 1a0cf77c2345 dwm.c --- a/dwm.c Sun Apr 20 12:49:18 2008 +0200 +++ b/dwm.c Sun Apr 20 15:18:46 2008 +0200 @@ -41,6 +41,8 @@ #include /* macros */ +#define MAX(a, b) ((a)>(b)?(a):(b)) +#define MIN(a, b) ((a

[dwm] Compile time initialization of lt and geom

2008-04-20 Thread Premysl Hruby
Hi, both Layout *lt and Geom *geom can be initialized in compile time: diff -r 4accc080ae2e -r 2fc025a5a54f dwm.c --- a/dwm.c Sun Apr 20 00:13:19 2008 +0200 +++ b/dwm.c Sun Apr 20 00:15:30 2008 +0200 @@ -239,14 +239,15 @@ Cursor cursor[CurLast]; Cursor cursor[CurLast]; Display *dpy; DC

Re: [dwm] New client on bottom instead of top

2008-04-20 Thread Premysl Hruby
On (20/04/08 05:15), Ruben Gonzalez Arnau wrote: > To: dwm@suckless.org > From: Ruben Gonzalez Arnau <[EMAIL PROTECTED]> > Subject: [dwm] New client on bottom instead of top > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Hello, > > What is the way to get new client at

[dwm] Hackers mail-list

2008-04-19 Thread Premysl Hruby
Hi, [EMAIL PROTECTED] mail-list is no longer working? I didn't get any commit mail from March and latter. -Ph