diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-17 11:51:33 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:10:33 +0200 |
commit | e38e7cf94d2c66d0562edaafe8ece708c191cbde (patch) | |
tree | 040370814c1ff3bd8b2e70f2d7277b4dcb08e361 /src/compositor/compositor_api/qwaylandoutput.cpp | |
parent | 8dc36b6e0269cb51ce53c203ebb53cfa97854c8e (diff) |
Move ref and unref from QWaylandSurface to private
There shouldn't be a need to call these functions manually, and if there
is then their available in the private implementation.
Also removed some relay functions in QWaylandSurface
Change-Id: I18944c5f1fe87a070baf0c19f1b48aec796774d7
Diffstat (limited to 'src/compositor/compositor_api/qwaylandoutput.cpp')
-rw-r--r-- | src/compositor/compositor_api/qwaylandoutput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/compositor_api/qwaylandoutput.cpp b/src/compositor/compositor_api/qwaylandoutput.cpp index 88f3a4e09..5a83796ef 100644 --- a/src/compositor/compositor_api/qwaylandoutput.cpp +++ b/src/compositor/compositor_api/qwaylandoutput.cpp @@ -498,7 +498,7 @@ void QWaylandOutput::frameStarted() for (int i = 0; i < d->surfaceViews.size(); i++) { QWaylandSurfaceViewMapper &surfacemapper = d->surfaceViews[i]; if (surfacemapper.maybeThrottelingView()) - QWaylandSurfacePrivate::get(surfacemapper.surface)->frameStarted(); + surfacemapper.surface->frameStarted(); } } @@ -512,7 +512,7 @@ void QWaylandOutput::sendFrameCallbacks() surfaceEnter(surfacemapper.surface); } if (surfacemapper.maybeThrottelingView()) - QWaylandSurfacePrivate::get(surfacemapper.surface)->sendFrameCallback(); + surfacemapper.surface->sendFrameCallbacks(); } } wl_display_flush_clients(d->compositor->display()); |