Re: [dev] Alternative for tabbing in web-browsers?

From: Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>
Date: Fri, 9 Oct 2009 10:30:01 +0200

On Thu, Oct 08, 2009 at 06:05:16PM +0000, Jacob Todd wrote:
> On Thu, Oct 08, 2009 at 10:05:16PM +0200, Julien Steinhauser wrote:
> > On Thu, Oct 08, 2009 at 11:13:38AM +0200, Szabolcs Nagy wrote:
> > If I had to choose between tabs and several instances with a wm interaction,
> > I'd choose the latest, despite the problematic raised by Jake Todd
> > (giving the focus to the right instance of a browser) isn't solved
> > yet on dwm (or I'm not aware of how to do it).
> >
>
> I think I need to look at a different approach to this. Maybe a small C program
> would be better for this. One could probably figure out a way to focus a window
> in dwm or other window managers in C than shells scripts.
>
> --
> Jake Todd
> // If it isn't broke, tweak it!

wmctrl acts so, but dwm doesn't want to play with him because of EWMH
or NetWM compliance. I've seen allusion to EWMH and NetWM in dwm code
but can't get a client list with wmctrl anyway.

Furthermore, it already gives tools to do part of the job, lsw or xwininfo
can provide a list of clients, dmenu can select them.

The tool could be dwm specific as a lot of others WM can already interact
with wmctrl and don't really need something new (except if you want it).

dwm focuses new client.
Should your tool trick dwm, making it believe, that the client selected
(through a list as the desired client isn't visible to be selected with
the keyboard or the mouse) has "disappeared" from the X client list,
and then makes it "reappear" as a new one?

Or a tool which gets informations direct from dwm client list, translate it
into a human readable list and give focus to a selected client?
Received on Fri Oct 09 2009 - 08:30:01 UTC

This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 08:36:01 UTC