Re: [dwm] move/resize keyboard control

2008-09-28 Thread bill lam
On Sat, 27 Sep 2008, Donald Chai wrote:

 On Sep 27, 2008, at 5:26 AM, Tinou wrote:
 awesomewm (and my dwm) move windows within the clients list instead 
 of
 turning on 'floating', and I very much prefer it that way.

 Interesting feature, could you send a patch ?

 This patch is against dwm-5.2.

Excuse me, I'm not quite understand what patch will do. Does it
related to keyboard control of window? Would anyone give more detail?

TIA
- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3



Re: [dwm] move/resize keyboard control

2008-09-28 Thread Donald Chai

On Sep 28, 2008, at 6:50 AM, bill lam wrote:


On Sat, 27 Sep 2008, Donald Chai wrote:


On Sep 27, 2008, at 5:26 AM, Tinou wrote:

awesomewm (and my dwm) move windows within the clients list instead
of
turning on 'floating', and I very much prefer it that way.


Interesting feature, could you send a patch ?


This patch is against dwm-5.2.


Excuse me, I'm not quite understand what patch will do. Does it
related to keyboard control of window? Would anyone give more detail?


Try moving tiled windows with the mouse. (Make sure there are  
multiple windows on screen.) It should look like this: http:// 
en.wikipedia.org/wiki/Sliding_puzzle




Re: [dwm] move/resize keyboard control

2008-09-28 Thread Donald Chai
On Sun, Sep 28, 2008 at 4:26 PM, Claudio [EMAIL PROTECTED] wrote:
 It's a more logical and useful approach, indeed. Though i rarely use layouts
 other than monocle. Since i use dvtm i don't have more than a terminal in a
 tiled tag anymore but all the terminals has been moved to one dvtm session
 and the rest (iceweasel, aMSN, etc.) is floating or maximized, so i don't
 need such feature at all. OTOH i wouldn't have its opposite feature:
 auto-floating when move a tiled client. This mean that i prefer to have this
 patch in mainstream instead of the current implementation.

I'm perfectly happy keeping this out of the trunk, but I think the
auto-floating behavior really needs to go.  BTW, changeset
1213:368a80dcf5bd makes auto-float active only when snap is nonzero,
which I believe is a mistake.

(offtopic)
I find it strange how many people use dwm mostly for monocle-mode.  I
used Ratpoison for years because I assumed that any alternative would
require that I install gkrellm, turn on fake transparency in my
xterms, and use some sci-fi wallpaper. Finally I got fed up with
Ratpoison because you need to deal with its awkward frames if you
don't want a monocle-mode. The irony is that it's 16k lines of code,
but has fewer useful (to me) features than dwm.

Anyway, thanks Anselm, for keeping dwm clean and hackable!



Re: [dwm] move/resize keyboard control

2008-09-28 Thread bill lam
On Sun, 28 Sep 2008, Donald Chai wrote:
 I find it strange how many people use dwm mostly for monocle-mode.  I
 used Ratpoison for years because I assumed that any alternative would
 require that I install gkrellm, turn on fake transparency in my

I use a 15 LCD, tile is not practical and I use conky with dwm.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3



Re: [dwm] move/resize keyboard control

2008-09-27 Thread Tinou
Hi,

 awesomewm (and my dwm) move windows within the clients list instead of
 turning on 'floating', and I very much prefer it that way.

Interesting feature, could you send a patch ?

-- 
Tinoucas



Re: [dwm] move/resize keyboard control

2008-09-26 Thread Donald Chai

On Sep 26, 2008, at 12:00 AM, Claudio wrote:

Your version of the function works properly, it's better to use  
array of integers, indeed, and the focus is now under control.  
Though i don't want to toggle the window floating automatically and  
i prefer to check for arg and arg-v before to use it.


--snip--

I still use moveresize since it's a wrapper for the resize()  
function not strictly related to the keyboard. Isn't?


THX for your help, dwm is going to be perfect for me.


I concur, and would go as far as to suggest that maybe:
	1) if the window is not floating, move it around the clients list or  
update mfact, and

2) this all get unified with movemouse and resizemouse.

awesomewm (and my dwm) move windows within the clients list instead  
of turning on 'floating', and I very much prefer it that way.