Re: [dwm] make a window unfocussable?

From: Karl. <kmw1_AT_free.net.nz>
Date: Thu, 5 Apr 2007 20:49:03 +1200

> On Thu, Apr 05, 2007 at 07:44:04AM +1200, Karl. wrote:
>> Is it possible to make a window that can't be focussed?

On Thu, Apr 05, 2007 at 08:12:21AM +0200, Enno Gottox Boland wrote:
> You could patch dwm to make this work. But I don't see any reason why
> a simple logwin mustn't get focus.

It's not a matter of mustn't - more a matter of there being no point in
that window having focus - it just takes away from me having focus
somewhere useful.

On Thu, Apr 05, 2007 at 10:04:07AM +0200, Anselm R. Garbe wrote:
> dwm doesn't supports this specific hint for simplicity reasons. Also,
> how would one close an unfocussable app? Using kill only?

The window is being used as a notification (showing me what mail I have,
as it arrives, or if there is any trouble with the fetching). It tails
mail.log and procmail.log, then does a summary of which folders have new
mail, then times out and goes away automatically. I use a hotkey to
invoke it when I feel like reading new mail. (For various reasons,
automatically fetching mail via a cron job does not suit me)

Ideally, whatever I was previously doing (assuming I am already on the
mail/messaging view) would retain focus. eg. if I am writing a list
email and want to see if anyone else has replied before I send my reply,
it would be best if focus stays in mutt.

I will look into using dzen2 instead. An unfocussable window would have
been useful if it was already an option, but it's not worth the trouble
for me to modify dwm just for this.

thanks,
Karl.
Received on Thu Apr 05 2007 - 10:49:09 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:40:24 UTC