diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2012-03-05 09:58:32 +0100 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2012-03-05 10:03:46 +0100 |
commit | 6200e672a24d7d61e53b46ddb4ef5e0c3733516f (patch) | |
tree | 1ba752022e01fa69347743835f25ec7ffed73f22 /src/compositor/wayland_wrapper/wlextendedoutput.cpp | |
parent | d61d5176ce7f90710d53edcc3a176cc9a2e05e90 (diff) |
Use the new cool event wrapper functions generated by wayland-scanner
This gives us some more static typechecking which is cool..
This fixes actually a couple of minor bugs we had, one where we didn't
send a value for the refreshrate of a screen, and a couple in selection.
Change-Id: I2b4193b488784885d7cce27f7f5b2d2df45c6c83
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/wlextendedoutput.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/wlextendedoutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/wlextendedoutput.cpp b/src/compositor/wayland_wrapper/wlextendedoutput.cpp index a610da242..c395e67e3 100644 --- a/src/compositor/wayland_wrapper/wlextendedoutput.cpp +++ b/src/compositor/wayland_wrapper/wlextendedoutput.cpp @@ -100,7 +100,7 @@ void ExtendedOutput::sendOutputOrientation(Qt::ScreenOrientation orientation) default: sendOpperation = WL_EXTENDED_OUTPUT_ROTATION_PORTRAITORIENTATION; } - wl_resource_post_event(m_extended_output_resource,WL_EXTENDED_OUTPUT_SET_SCREEN_ROTATION,sendOpperation); + wl_extended_output_send_set_screen_rotation(m_extended_output_resource, sendOpperation); } |