I can add that on my PC (tower), the group and indicator have correct values for CAPS lock and NUM lock, except on startup.
the problem seems more frequent with laptops.
the group and indic are simply got by using xkl_engine_get_state().
the debug (group : 0 -> 0 ; indic : 0 -> 0) shows the previous values and the current one after an XKLAVIER_STATE event came from X, we can see that they are identical.
I can add that on my PC (tower), the group and indicator have correct values for CAPS lock and NUM lock, except on startup.
the problem seems more frequent with laptops.
the group and indic are simply got by using xkl_engine_ get_state( ).
the debug (group : 0 -> 0 ; indic : 0 -> 0) shows the previous values and the current one after an XKLAVIER_STATE event came from X, we can see that they are identical.