[dwm] mouseontitle patch in wiki

2007-10-15 Thread pancake
After one and a half month I have finally posted the mouseintitle patch
into the wiki O:) Its not tested on 4.5, but it should be portable :)

  http://www.suckless.org/wiki/dwm/patches/mouseontitle

--pancake



Re: [dwm] Triple Screen xorg.conf ?

2007-10-15 Thread Kai Grossjohann
http://www.suckless.org/wiki/dwm:

| dwm has no multihead support. It is not designed to work well with
| Xinerama setups: it is designed to work well with high-resolution
| notebook setups and wide-screen setups instead - the default window
| arrangement algorithm seems mutually exclusive of multihead or Xinerama
| setups.

But there is awesome, a fork of dwm, which provides this feature.

Kai


On Mon, Oct 15, 2007 at 02:43:45AM -0600, A A wrote:

 Anyone out there have a triple screen xorg.conf (individual screens) running
 DWM that you would be willing to share with me?  I can't seem to get DWM to
 treat each screen as a single desktop for some reason.
 
 Thanks!



Re: [dwm] Triple Screen xorg.conf ?

2007-10-15 Thread Engin Tola
A A [EMAIL PROTECTED] writes:

 Anyone out there have a triple screen xorg.conf (individual screens) running
 DWM that you would be willing to share with me?  I can't seem to get DWM to
 treat each screen as a single desktop for some reason.

 Thanks!

I got a 2 display configuration without using awesome if you're
interested. (It basically launches 2 dwm in different displays and you
cannot move windows around but I also got a small code I use to move
between displays for keyboard-based switching so moving is not awkward )

I guess you can modify this to three displays...

-- 
engin tola - http://cvlab.epfl.ch/~tola
emacs  - http://www.gnu.org/software/emacs/tour



Re: [dwm] Triple Screen xorg.conf ?

2007-10-15 Thread Jan Christoph Ebersbach
On Mon 15-10-2007 11:11, Engin Tola wrote:

 A A [EMAIL PROTECTED] writes:

  Anyone out there have a triple screen xorg.conf (individual screens)
  running DWM that you would be willing to share with me?  I can't
  seem to get DWM to treat each screen as a single desktop for some
  reason.
 
  Thanks!

 I got a 2 display configuration without using awesome if you're
 interested. (It basically launches 2 dwm in different displays and you
 cannot move windows around but I also got a small code I use to move
 between displays for keyboard-based switching so moving is not awkward
 )

 I guess you can modify this to three displays...

Sounds good but where can I find it?
-- 
Jan Christoph Ebersbach
Fear God and keep his commandments, for this is the whole duty of man.
Eccl 12,13


signature.asc
Description: Digital signature


[dwm] mouseontitle patch for dwm 4.6

2007-10-15 Thread Mark T
I've attached a version of pancake's mouseontitle patch that applies
cleanly to dwm tip.

I'd be grateful if someone else would verify that it works, so it can go
on the wiki.

-- 
Mark Taylor
PGP keyID D9ED771A
diff -r e50c3eb0f55a dwm.c
--- a/dwm.c	Thu Oct 11 20:50:01 2007 +0200
+++ b/dwm.c	Mon Oct 15 16:41:28 2007 -0400
@@ -317,6 +317,14 @@ buttonpress(XEvent *e) {
 		}
 		if((ev-x  x + blw)  ev-button == Button1)
 			setlayout(NULL);
+if(ev-x  x + blw)
+			switch(ev-button) {
+case Button1: zoom(NULL); break;
+case Button2: togglefloating(NULL); break;
+case Button3: killclient(NULL); break;
+case Button4: focusprev(NULL); break;
+case Button5: focusnext(NULL); break;
+			}
 	}
 	else if((c = getclient(ev-window))) {
 		focus(c);


signature.asc
Description: PGP signature