Re: [dwm] Rearrange clients in stack.

2007-06-01 Thread Szabolcs Nagy
pushup and pushdown that move the current selected client in the list. regards, Mate i cleaned up your code a bit void pushup(const char *arg) { Client *c; if(!sel || lt->arrange == floating || sel->isfloating) return; if((c = prevtiled(sel->prev))) { /* attach before c */ detach(se

Re: [dwm] Rearrange clients in stack.

2007-05-31 Thread k-zed
greetings, > I'm fiddling with a function that makes it possible to rearrang the > clients in the stack. My efforts so far has been pretty unsuccessfully. > My thought was that one should be able change places between the > selected client with the client above or belowe. here is my implementati

Re: [dwm] Rearrange clients in stack.

2007-05-30 Thread Alexander Polakov
* Rickard Gustafsson <[EMAIL PROTECTED]> [070531 01:44]: > So I guess that I have to change the order of the clients in some other > way. Any proposals? > Change the order of clients in double-linked list and call lt->arrange(). -- Alexander Polakov | http://polachok.livejournal.com

[dwm] Rearrange clients in stack.

2007-05-30 Thread Rickard Gustafsson
Hi, I'm fiddling with a function that makes it possible to rearrang the clients in the stack. My efforts so far has been pretty unsuccessfully. My thought was that one should be able change places between the selected client with the client above or belowe. My first thougth was that I just had t