Focus

Jonesy SPAM_TRAP_gmane at jonz.net
Mon Nov 2 16:11:02 UTC 2020


On Sun, 1 Nov 2020 21:11:54 +0000, Peter Flynn wrote:
> Does anyone know if there is a setting in any of the window management 
> implementations that will force focus to the only window open in a 
> desktop when there is only one window open in it.
>
> I typically have four desktops, and slide between them because I have 
> them set up for different tasks usually involving groups of 
> applications, but often, one of them will have only a single application 
> in it. None of them are full-screen, and I use focus-follows-mouse.
>
> It seems perverse that when I flick to such a desktop, the cursor 
> remains in the position it was in the previous desktop. I can see the 
> logic of that when the system cannot guess which of multiple 
> applications you are going to use next, but in the case where there is 
> only one there, it would be nice for the focus to move to that application.

Well, you asked for "window management implementations" (without specifying 
what you've tried), so here's my input:

I run Ubuntu with Trinity Desktop  

	http://trinitydesktop.org/

	https://wiki.trinitydesktop.org/Trinity_Desktop_Environment

... and it works the way you want. Rolling from one desktop to another 
with just one active window results in that window having focus.
Rolling into a desktop with multiple open windows sets the focus on the
last window that was in focus on that desktop.

However, the mouse position remains in the same position throughout any
rolling through all desktops.  (After all, how should the WM know where
to properly place the mouse in any given window.... ?)
 
HTH
Jonesy
-- 
  Marvin L Jones    | Marvin      | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy     |  FreeBSD
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm





More information about the ubuntu-users mailing list