Can't get the WM_CLASS of GNOME Activities
Steps to reproduce
- Open gnome-terminal
- Run
sleep 5; xprop -root
- Minimize gnome-terminal
- Open GNOME Activities
Current behavior
I'm developing a Vietnamese input method for IBus https://github.com/BambooEngine/ibus-bamboo. It uses WM_CLASS to identify what window is active (has focus in), so you can assign that window to your favorite input mode (e.g. pre-editting, surrounding text, US input, etc.). Unfortunately, in GNOME Activities/Overview, I can't obtain information about the active window (Gnome-Shell) and it's WM_CLASS property.
Here is what I see when running xprop -root
with GNOME Activities is active:
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x0
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x340000a (gnome-terminal)
_NET_CLIENT_LIST(WINDOW): window id # 0x340000a
Version information
- Ubuntu 19.04, GNOME 3.32