Re: [dwm] Virtual keyboards

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Mon, 9 Feb 2009 10:00:39 +0000

Hi Peter,

2009/2/9 Peter Hartlich <sgkkr_AT_hartlich.com>:
>> It appears to me that both the onscreen keyboard and the client with
>> the input focus should have a selfg border -- at least that makes most
>> sense in my opinion.
>
> But you need to be able to distinguish between dwm's _selected_ (for
> tagging, closing etc.) client and X's _focused_ client. Killing your
> terminal window on accident could be awful.

What's wrong with focussing the next in the stack?

>> Introducing another couple just for that sounds quite over-engineered
>> to me.
>
> Agreed.
>
> What I would propose is the attached series of patches for hg import:
> The first renames focus() to selclient() and focusstack() to selstack().
> The second adds a new focus() function calling XSetInputFocus() and
> saving the client in a global foc (analogue to sel) variable; it then
> implements isfocusable based on the Gottox port + selfgcolor border
> for focused, but unselected windows.

Agreed, I'll apply your patches.

> By the way, your last commits have "a_AT_null" as the author?

I will address this. I'm using a fresh host.

Kind regards,
--Anselm
Received on Mon Feb 09 2009 - 10:00:39 UTC

This archive was generated by hypermail 2.2.0 : Mon Feb 09 2009 - 10:12:04 UTC