summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-05-09 11:28:01 +0300
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-05-09 11:01:58 +0200
commit9bda431e60b5626b7aeb01dcfa6fcb183ee17258 (patch)
treee0007f119b6298a637996cdac6b04ca4f81341b6 /examples
parentd690b81b5c67d73e8e68eb6ac132fdc89b3e6407 (diff)
Remove notes about enabling the touch extension in qwindow-compositor
It is all automatic nowadays. Change-Id: I7b8f0c1716a910624ac31bd31832fb50418f48fb Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qwindow-compositor/qwindowcompositor.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/qwindow-compositor/qwindowcompositor.cpp b/examples/qwindow-compositor/qwindowcompositor.cpp
index 42e12de1c..6e571ced3 100644
--- a/examples/qwindow-compositor/qwindowcompositor.cpp
+++ b/examples/qwindow-compositor/qwindowcompositor.cpp
@@ -59,15 +59,6 @@ QWindowCompositor::QWindowCompositor(QOpenGLWindow *window)
, m_draggingWindow(0)
, m_dragKeyIsPressed(false)
{
- // Enable the following to have all QTouchEvent-specific data delivered
- // using a custom protocol extension.
- // enableTouchExtension();
-
- // Enable the following to have mouse events generated from touch
- // on client side. This is not the same as synthesizing mouse events
- // in the compositor because it avoids sending data through the wire.
- // configureTouchExtension(WaylandCompositor::TouchExtMouseFromTouch);
-
enableSubSurfaceExtension();
m_window->makeCurrent();