Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-15 00:04:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-15 00:04:36 +0400
commitdfdf07c21ae8cf91cf98c90d182652a00f080225 (patch)
tree78272d266d8bb78bdf20c2423b44d696bb9bc24e /intern
parentef0ed228ec15083021cd780f6245c390a5736013 (diff)
fix [#33831] "Alt" key is "Alt Window Deactivated"
Patch from Patrick Zulke (pazul)
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index f5cb0d9323c..4abcfcc73ae 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -785,6 +785,11 @@ GHOST_SystemX11::processEvent(XEvent *xe)
/* May have to look at the type of event and filter some out. */
+ if (xfe.detail != NotifyNonlinear) {
+ /* Needed for Ubuntu-Unity, see bug [#33831] */
+ break;
+ }
+
GHOST_TEventType gtype = (xfe.type == FocusIn) ?
GHOST_kEventWindowActivate : GHOST_kEventWindowDeactivate;