You are not logged in.
Hi All,
I'm experiencing a really bizarre window focusing behavior with only XTerm windows.
1. Open XTerm and another app (e.g: Nautilus) -- stack them side-by-side but maybe a little overlapping so that it's apparent which app has focus.
2. Focus on Nautilus by CLICKING in the Nautilus window body or the window title
3. Tap Alt+Tab--notice that XTerm gets focus--this is the correct behavior
4. Give Nautilus focus again by CLICKING on window title
5. Now give focus to XTerm by either CLICKING on the window title or inside xterm window
6. Tap Alt+Tab--notice that nothing happens--this is because the WM just raised XTerm even though window already focus
7. Tap Alt+Tab again--and NOW Nautilus gets focus.
It seems as if raising XTerm via mouse click (or sloppy mouse mode) doesn't register with the WM that window is raised. Anyone know how to fix this?
Gnome 3.10.2 (Mutter WM)
XTerm v300
Very simple xterm.desktop (I even added StartupWMClass for good measure, but no affect):
[Desktop Entry]
Name=XTerm
#GenericName=Terminal
Comment=standard terminal emulator for the X window system
Exec=xterm
Terminal=false
Type=Application
Encoding=UTF-8
Icon=utilities-terminal
StartupWMClass=XTerm
StartupNotify=false
Categories=System;TerminalEmulator;Offline
I installed xterm and does the same as you describe but I normally use gnome terminal which works fine. There's your fix!
Offline
@bulletmark LOL. gnome terminal doesn't support on the fly cursor shape changes (e.g: "\e[2 q", "\e[3 q", etc)--as you can probably guess; I'm a heavy Tmux/Vim user ![]()
Offline