Merge lp:~matttbe/gtk/949414 into lp:~ubuntu-desktop/gtk/ubuntugtk3

Proposed by Matthieu Baerts
Status: Merged
Merged at revision: 165
Proposed branch: lp:~matttbe/gtk/949414
Merge into: lp:~ubuntu-desktop/gtk/ubuntugtk3
Diff against target: 82 lines (+62/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/git_touchpad_like_mouse.patch (+53/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~matttbe/gtk/949414
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+98353@code.launchpad.net

Description of the change

Hello,

This branch includes a patch (from git) to fix this bug LP: #949414 .
I don't know where I've to push this branch because it seems lp:ubuntu/gtk+3.0 is not up to date :-/
But I'm going to propose a debdiff on the bug report too.

Thank you,

Matt

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Matthieu, not sure what your "where to push" is about, the merge request location and diff seems fine, the packaging vcs is debian dir only which is easier to handle than full source outdated imports ;-)

review: Approve
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Thank you!

> the packaging vcs is debian dir only which is easier to handle than full source outdated imports ;-)
Yes, I understand :)

> not sure what your "where to push" is about, the merge request location and diff seems fine
It's just because I used to modify the content of a branch like "lp:ubuntu/PROGRAM" and I didn't know if I had to change the reviewer (but I guess most people from ubuntu-sponsors team can't push on this branch: lp:~ubuntu-desktop/gtk/ubuntugtk3 ) or to push my modification on a BZR branch linked to "ubuntu/gtk+3-0".

Revision history for this message
Sebastien Bacher (seb128) wrote :

> but I guess most people from ubuntu-sponsors team can't push on this branch: lp:~ubuntu-desktop/gtk/ubuntugtk3

they can, the dev teams is a member of the desktop team to let anyone who has upload rights be able to commit as well ;-)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-16 16:00:24 +0000
+++ debian/changelog 2012-03-20 07:56:21 +0000
@@ -1,3 +1,11 @@
1gtk+3.0 (3.3.18-0ubuntu4) precise; urgency=low
2
3 * debian/patches/git_touchpad_like_mouse.patch:
4 - git patch, a touchpad device should behave like a mouse and not like a
5 touchscreen (lp: #949414)
6
7 -- Matthieu Baerts (matttbe) <matttbe@gmail.com> Tue, 20 Mar 2012 07:35:57 +0100
8
1gtk+3.0 (3.3.18-0ubuntu3) precise; urgency=low9gtk+3.0 (3.3.18-0ubuntu3) precise; urgency=low
210
3 * debian/patches/043_ubuntu_menu_proxy.patch:11 * debian/patches/043_ubuntu_menu_proxy.patch:
412
=== added file 'debian/patches/git_touchpad_like_mouse.patch'
--- debian/patches/git_touchpad_like_mouse.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/git_touchpad_like_mouse.patch 2012-03-20 07:56:21 +0000
@@ -0,0 +1,53 @@
1From bd55519f7e6bb5da2fdf6f5e99bd79213059f81b Mon Sep 17 00:00:00 2001
2From: Benjamin Otte <otte@redhat.com>
3Date: Tue, 20 Mar 2012 01:04:22 +0000
4Subject: gdk: A TOUCHPAD device behaves like a mouse
5
6and not like a TOUCHSCREEN. So treat it like that.
7
8https://bugzilla.gnome.org/show_bug.cgi?id=672009
9---
10diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
11index 72f0a18..4ae08ca 100644
12--- a/gdk/gdkwindow.c
13+++ b/gdk/gdkwindow.c
14@@ -9271,7 +9271,6 @@ proxy_pointer_event (GdkDisplay *display,
15
16 if (pointer_info->need_touch_press_enter &&
17 gdk_device_get_source (pointer_info->last_slave) != GDK_SOURCE_TOUCHSCREEN &&
18- gdk_device_get_source (pointer_info->last_slave) != GDK_SOURCE_TOUCHPAD &&
19 (source_event->type != GDK_TOUCH_UPDATE ||
20 _gdk_event_get_pointer_emulated (source_event)))
21 {
22@@ -9682,8 +9681,7 @@ proxy_button_event (GdkEvent *source_event,
23 * which synthesized a leave notify event, so synthesize another enter
24 * notify to tell the pointer is on the window.
25 */
26- if (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN ||
27- gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHPAD)
28+ if (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN)
29 mode = GDK_CROSSING_TOUCH_BEGIN;
30 else
31 mode = GDK_CROSSING_DEVICE_SWITCH;
32@@ -9743,8 +9741,7 @@ proxy_button_event (GdkEvent *source_event,
33 (type == GDK_TOUCH_END &&
34 _gdk_event_get_pointer_emulated (source_event))) &&
35 pointer_window == pointer_info->window_under_pointer &&
36- (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN ||
37- gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHPAD))
38+ gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN)
39 {
40 /* Synthesize a leave notify event
41 * whenever a touch device is released
42@@ -9780,8 +9777,7 @@ proxy_button_event (GdkEvent *source_event,
43 if ((type == GDK_TOUCH_END &&
44 _gdk_event_get_pointer_emulated (source_event)) &&
45 pointer_window == pointer_info->window_under_pointer &&
46- (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN ||
47- gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHPAD))
48+ gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN)
49 {
50 /* Synthesize a leave notify event
51 * whenever a touch device is released
52--
53cgit v0.9.0.2
054
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-03-09 17:06:39 +0000
+++ debian/patches/series 2012-03-20 07:56:21 +0000
@@ -14,3 +14,4 @@
14dont_rename_annotation.patch14dont_rename_annotation.patch
15dont_show_numlock_warning.patch15dont_show_numlock_warning.patch
16git_scroll_reset.patch16git_scroll_reset.patch
17git_touchpad_like_mouse.patch

Subscribers

People subscribed via source and target branches