~vanvugt/mir/fix-1226139

« back to all changes in this revision

Viewing changes to src/server/frontend/protobuf_buffer_packer.cpp

  • Committer: Tarmac
  • Author(s): Robert Carr, Daniel van Vugt
  • Date: 2013-09-06 22:35:09 UTC
  • mfrom: (985.4.17 dpms-support-api)
  • Revision ID: tarmac-20130906223509-70pwrb4hkfnz2ary
Add DPMS configuration API. Fixes: https://bugs.launchpad.net/bugs/1193222.

Approved by PS Jenkins bot, Alan Griffiths, Robert Ancell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    protobuf_output.set_position_y(display_output.top_left.y.as_uint32_t());
66
66
    protobuf_output.set_current_mode(display_output.current_mode_index);
67
67
    protobuf_output.set_current_format(display_output.current_format_index);
 
68
    protobuf_output.set_power_mode(static_cast<uint32_t>(display_output.power_mode));
68
69
}
69
70
 
70
71
}