On Wed, Aug 26, 2009 at 3:20 PM, Carlos R. Mafra<[email protected]> wrote:
> Carlos R. Mafra wrote:
>> Do you mind writing a patch for that and perhaps testing it with
>> a pager? :-)
>
> But there is no need to rush, btw.
>
> We all have our day jobs :-)
>

Have a peek: http://www.ghacks.net/wp-content/uploads/2009/03/gnome_pager.png
The pager is to the left in the panel. Showing the applications on the
different desktops.

Lets say that the user has blocked Firefox from stealing focus and
switching desktops (that's a good things since its annoying)

Consider the same user running a similar pager as in the screenshot.
The user clicks on the Firefox icon on the first desktop. The pager
might then send a _NET_ACTIVE_WINDOW asking WMaker to focus firefox
and (and if needed switch desktop).

In patch's current state this would not be possible since we _IGNORE_
this event to stop Firefox from stealing focus!

The nifty thing here with _SOURCE INDICATION_ is that WMaker might
actually separate event that are automatic, i.e. Firefox trying to
steal focus and when the user clicked the pager to switch application!


So If firefox is trying to steal focus, we ignore the event

If the user used a pager we simply comply with the event


So in short what im saying is that the patch could easily be modified
to support both features, that is stopping apps from stealing focus /
switching workspaces, but still allow pagers to change the desktop /
focus. Without any conflicts!

I Hope i made myself a bit more clear on what i actually was trying to
propose to the patch...


-- 
To unsubscribe, send mail to [email protected].

Reply via email to