Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Josh Klar
The mailing list post where a patch for this was posted last time: http://lists.suckless.org/dev/1108/9190.html That seems to be doing fine for me, and works fine with 4.4.1, so maybe just use something to this effect (ish?). Then again, your mileage may vary, depending on your use. I set mine up

Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Peter John Hartman
> It would be more sensible to have a single '-g' flag, for geometry, > which would take an X geometry string. I did write a patch a while > back which did this, but I don't know where I put it. I also didn't > find it at all useful, and some of the code was a bit ugly. What would > be the use case

Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Bjartur Thorlacius
On 12/3/11, Bastien Dejean wrote: > Well, it's useful when one wants to (properly) place dmenu at the > optical center of the screen and eventually add some incredibly > necessary margins. > Which is exactly what _NET_WM_WINDOW_TYPE_DIALOG is for. Note that doing this in the WM is the only way to

Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Bastien Dejean
Bjartur Thorlacius: > grabbing the whole keyboard rendering it temporarily unusable for > anything but typing text into dmenu or escaping out of it. Yes, it's extremely annoying and alas, it's not just dmenu, many programs have the *input black hole* feature. Cheers, -- Bastien

Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Bastien Dejean
Connor Lane Smith: > I also didn't find it at all useful, and some of the code was a bit > ugly. What would be the use case for this? Well, it's useful when one wants to (properly) place dmenu at the optical center of the screen and eventually add some incredibly necessary margins. dmenu's defau

Re: [dev] [dmenu] No x, y, w options?

2011-12-03 Thread Connor Lane Smith
Hey, On 2 December 2011 19:12, Bastien Dejean wrote: > (Of course I'm referring to the options of the same name already available in > dzen2.) It would be more sensible to have a single '-g' flag, for geometry, which would take an X geometry string. I did write a patch a while back which did th

Re: [dev] [dmenu] No x, y, w options?

2011-12-02 Thread Bjartur Thorlacius
Why choose window placement and dimensions at exec, instead of letting the window manager handle the issue? Just set _NET_WM_WINDOW_TYPE to _NET_WM_WINDOW_TYPE_DIALOG and spend engineering time ranting about WM_TRANSIENT_FOR, modality and modularity instead. dmenu's override-redirect flag has alwa

Re: [dev] [dmenu] No x, y, w options?

2011-12-02 Thread Anselm R Garbe
On 2 December 2011 19:12, Bastien Dejean wrote: > (Of course I'm referring to the options of the same name already available in > dzen2.) This is a TODO which can also be found in the dwm TODO file. It is of lower prio however, as it is trivial to patch the dwm source code to achieve what you ar

[dev] [dmenu] No x, y, w options?

2011-12-02 Thread Bastien Dejean
Hi, (Of course I'm referring to the options of the same name already available in dzen2.) Greetings, -- Bastien