[gtk+/touch-for-3.4] gdk: remove duplicate code
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/touch-for-3.4] gdk: remove duplicate code
- Date: Mon, 27 Feb 2012 12:17:22 +0000 (UTC)
commit 0a641157ecce94722dc1869aece5d6a48264879c
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Feb 27 12:53:05 2012 +0100
gdk: remove duplicate code
the chunk above is meant to do the same, likely a rebase artifact
gdk/gdkwindow.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index fc39f45..390e295 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -9635,20 +9635,6 @@ proxy_button_event (GdkEvent *source_event,
return TRUE;
}
- if ((evmask & GDK_TOUCH_MASK) == 0 &&
- (type == GDK_TOUCH_BEGIN || type == GDK_TOUCH_END))
- {
- if (_gdk_event_get_pointer_emulated (source_event))
- {
- if (type == GDK_TOUCH_BEGIN)
- type = GDK_BUTTON_PRESS;
- else if (type == GDK_TOUCH_END)
- type = GDK_BUTTON_RELEASE;
- }
- else
- return TRUE;
- }
-
if (event_win == NULL || display->ignore_core_events)
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]