Re: [dwm] dmenu with mouse support?

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sat, 2 Jun 2007 14:48:42 +0200

Hi pancake,

On Fri, Jun 01, 2007 at 05:45:47PM +0200, pancake wrote:
> dmenu:
> - up/down keys act as left/right keys

I don't see the point in enabling two different keys for the
same thing.

> - mouse wheel act as left/right keys too
> - mouse left click activates the selected word
> - mouse right click closes dmenu (like <ESC>)

I don't see much sense in this proposal for several reasons.
First of all dmenu is designed for keyboard input. Second, your
proposal would make it necessary to check the pointer position
on release every time and calculating the right item under the
pointer. This will introduce some bloat, at least yet another
100 LOC, which seems to be too much overkill. Also, such thing
might introduce new cornercases and so new bugs.

> dwm:
> - mouse wheel on tags allows to change between "desktops" (without having to click)

This is not possible, simply because there is no previous or
next tag. Tags are a set of unordered alphanumeric strings.

> - left click on status bar (where the stdin is printed) executes a program.

Which program?

> - left click on title bar swaps current window between floating and tiled mode
> - right click on title bar closes the window

Those things would be rather simple to achieve, but I'm not sure
it is really worth the effort, simply because there are already
certain mouse actions on the bar. But your last three proposals
seem to be the only ones, which might be considered useful and
minor improvements. All others, esp. the dmenu-related proposals
seem to be overhead - simply because dmenu is keyboard-driven by
design.

> What i don't know how to do is how to emulate alt+click options (move and resize) or
> how to zoom a window (alt+intro) without using the keyboard. (I really love these
> two actions x)

There is no way to resize/move windows without the keyboard. The
only solution would implementing a builtin menu and do it like
9wm, but honestly, this would mean more bloat, so I don't like
it.

To your gestures proposal, - I don't like mouse gestures, they
are too sloppy for my taste.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Sat Jun 02 2007 - 14:48:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:43:29 UTC