Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No X11 window properties on Linux #605

Closed
magpie514 opened this issue Aug 23, 2014 · 0 comments
Closed

No X11 window properties on Linux #605

magpie514 opened this issue Aug 23, 2014 · 0 comments

Comments

@magpie514
Copy link

I've noticed that the Atom editor window has no X11 properties on Linux. This makes window matching for automation rules or window grouping impossible.

This is the output of KDE's window detection dialog:
snapshot10

And the output of xprop on the Atom editor window:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 0, 482, 38, 38
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 21, 4
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 21, 4
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "00000000-0000-0000-0000-000000000000"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT
_NET_WM_USER_TIME(CARDINAL) = 17158650
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 40, 21
_NET_WM_ICON(CARDINAL) = 
WM_NAME(STRING) = ".gitignore - /home/storage/Games/Doom/GZDOOM/TC/VAULT"
_NET_WM_NAME(UTF8_STRING) = ".gitignore - /home/storage/Games/Doom/GZDOOM/TC/VAULT"
XdndAware(ATOM) = BITMAP
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x1, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_PID(CARDINAL) = 7897
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = (REDACTED)
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 17087171

At least window class names should be given to allow window matching and more conformance to other X11 apps (and while it's on its way to supposed deprecation, it never hurts to have them until the replacement is there).

What drove me to detect the lack of names was my task launcher, which normally keeps a launcher button and then fills that position when the given app is running, and Atom didn't, so when trying to set up to match a window identity manually, I noticed it had none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants