How can I find the name of the starting window manager X from the program?
If I started another window manager when it is already running, an error occurs, so there should be a way to detect the first for another window manager.
How it works?
In the EWMH spec, a compatible window manager will set the _NET_SUPPORTING_WM_CHECKwindow identifier for the property in the root window.
_NET_SUPPORTING_WM_CHECK
_NET_SUPPORTING_WM_CHECK , , ICCCM2. , , , ICCCM2, . , , ICCCM2.0, .
( , , ) _NET_WM_NAME, .
_NET_WM_NAME
wmctrl XWWH, EWMH/NetWM, :
$ wmctrl -m Name: Compiz ...
, ( 2012):
"", , , 100% , . "xlsatoms" "xprop" ( ), ( ) .
Source: https://habr.com/ru/post/1706567/More articles:Java: accelerated overload or if / else - javaDot.net Single Sign-On Ultimate Solution - Design, Steal or Buy? - .netAccess to aggregated objects without lazy loading - domain-driven-designText box in custom toolbar - vbaQuestion Linq: Combined Provisions - c #The problem with the connection WM_NOTIFY and superclasses in Win32 - c ++How to use onLoading event in grails remoteFunction - ajaxSQL Server Indexes - sqlReassign Macro to Command button when copying file - excel-vbaВычислить все комбинации серии - javascriptAll Articles