On Fri, 14 Feb 2014, Eugene Doudine wrote:
--- cde/programs/dtwm/WmGlobal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)diff --git a/cde/programs/dtwm/WmGlobal.h b/cde/programs/dtwm/WmGlobal.h index 0995c7e..944b4b3 100644 --- a/cde/programs/dtwm/WmGlobal.h +++ b/cde/programs/dtwm/WmGlobal.h @@ -2367,7 +2367,9 @@ typedef struct _WmGlobalData #define ACTIVE_ROOT (wmGD.pActiveSD->rootWindow) #define ACTIVE_ICON_TEXT_WIN (wmGD.pActiveSD->activeIconTextWin) -#define NOLOCKMOD(state) ((state) & ~wmGD.lockingModMask) +/* According to the xkb protocol bits 13 and 14 are interpreted as a */ +/* two-bit unsigned numeric value and report the state keyboard group */ +#define NOLOCKMOD(state) ((state) & ~wmGD.lockingModMask & ~(3 << 13)) #ifdef WSM /* absent map behavior policy values (absentMapBehavior): */ #define AMAP_BEHAVIOR_ADD 0
Ok, I manually appied this patch. I could not find a proper #define in XKB.h, so we'll will just stick with the 3<<13. Please, in the future, use git's 'format-patch' facility to submit patches to the mailing list. It makes my job a lot easier. -- Jon Trulson "It is a truism that almost any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so." —Robert A. Heinlein, science-fiction author (1907-1988)
------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel