Gentoo Archives: gentoo-commits

From: "Jason Zaman (perfinion)" <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in xfce-base/xfwm4/files: xfwm4-4.12-touchscreen-subwindow-fix.patch
Date: Sat, 04 Jul 2015 15:02:59
Message-Id: 20150704150254.6496D752@oystercatcher.gentoo.org
1 perfinion 15/07/04 15:02:54
2
3 Added: xfwm4-4.12-touchscreen-subwindow-fix.patch
4 Log:
5 fix bug 527662, respond to touchscreen
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x7EF137EC935B0EAF)
8
9 Revision Changes Path
10 1.1 xfce-base/xfwm4/files/xfwm4-4.12-touchscreen-subwindow-fix.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-base/xfwm4/files/xfwm4-4.12-touchscreen-subwindow-fix.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-base/xfwm4/files/xfwm4-4.12-touchscreen-subwindow-fix.patch?rev=1.1&content-type=text/plain
14
15 Index: xfwm4-4.12-touchscreen-subwindow-fix.patch
16 ===================================================================
17 diff -ur xfwm4-4.10.1/src/events.c b/src/events.c
18 --- xfwm4-4.10.1/src/events.c 2014-10-31 14:19:18.012757936 -0600
19 +++ b/src/events.c 2014-10-31 14:18:54.901758349 -0600
20 @@ -888,6 +888,13 @@
21 {
22 state = ev->state & MODIFIER_MASK;
23 win = ev->subwindow;
24 + if (!win) {
25 + Window root_ret;
26 + int rx,ry,wx,wy;
27 + unsigned int mask_ret;
28 + XQueryPointer(display_info->dpy, ev->window,
29 + &root_ret, &win, &rx, &ry, &wx, &wy, &mask_ret);
30 + }
31 screen_info = c->screen_info;
32
33 if ((ev->button == Button1) && (state) && (state == screen_info->params->easy_click))