mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Patch submitted by Eugene Doudine <dudinea@gmail.com>
This commit is contained in:
parent
cab52a91ef
commit
0b3f253ba4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue