summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wlsurface.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-03-28 14:24:30 +0200
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-03-28 14:26:55 +0200
commit40cd850d39ccf2a303e1e6feafebf285cc3597a2 (patch)
tree2bd2c0db9ba78721cd020a6f088f4c02a10b8a67 /src/compositor/wayland_wrapper/wlsurface.cpp
parentb1cae1062d8ed70b2e72b2c25979847ebdf48323 (diff)
Don't initialize QRegion with an int.
Using an int probably makes it use the QPolygon constructor with the int treated as a size, which is not what we want. Change-Id: Id382d5ebf15c8260b55d51c5b566e5e3ed054585 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/wlsurface.cpp')
-rw-r--r--src/compositor/wayland_wrapper/wlsurface.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compositor/wayland_wrapper/wlsurface.cpp b/src/compositor/wayland_wrapper/wlsurface.cpp
index 9d4658d06..fc2d8d9de 100644
--- a/src/compositor/wayland_wrapper/wlsurface.cpp
+++ b/src/compositor/wayland_wrapper/wlsurface.cpp
@@ -84,8 +84,6 @@ Surface::Surface(struct wl_client *client, uint32_t id, Compositor *compositor)
, m_extendedSurface(0)
, m_subSurface(0)
, m_shellSurface(0)
- , m_inputRegion(0)
- , m_opaqueRegion(0)
{
wl_list_init(&m_frame_callback_list);
addClientResource(client, &base()->resource, id, &wl_surface_interface,