/[gentoo-x86]/x11-base/xorg-server/files/xorg-server-1.11-dix-pointerrootwin-send-focusin.patch
Gentoo

Contents of /x11-base/xorg-server/files/xorg-server-1.11-dix-pointerrootwin-send-focusin.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jan 30 12:38:52 2012 UTC (2 years, 6 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Version bumps. Include upstream patches to address gtk+:3.3 triggered issues. Raise dependency on xkeyboard-config to avoid security bug #399347.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 From 3ce102c362cadcd7087bdcf48440d9498eaf77d0 Mon Sep 17 00:00:00 2001
2 From: Peter Hutterer <peter.hutterer@who-t.net>
3 Date: Thu, 05 Jan 2012 12:08:01 +0000
4 Subject: dix: on PointerRootWin send a FocusIn to the sprite window too
5
6 XTS XSetDeviceFocus-7
7
8 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
9 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
10 ---
11 diff --git a/dix/enterleave.c b/dix/enterleave.c
12 index 2b8c7c5..89a82ab 100644
13 --- a/dix/enterleave.c
14 +++ b/dix/enterleave.c
15 @@ -1299,7 +1299,10 @@ DeviceFocusEvents(DeviceIntPtr dev,
16 for (i = 0; i < nscreens; i++)
17 DeviceFocusEvent(dev, XI_FocusIn, mode, in, screenInfo.screens[i]->root);
18 if (to == PointerRootWin)
19 + {
20 DeviceFocusInEvents(dev, GetCurrentRootWindow(dev), sprite->win, mode, NotifyPointer);
21 + DeviceFocusEvent(dev, XI_FocusIn, mode, NotifyPointer, sprite->win);
22 + }
23 }
24 else
25 {
26 --
27 cgit v0.9.0.2-2-gbebe

  ViewVC Help
Powered by ViewVC 1.1.20