~ubuntu-branches/ubuntu/trusty/powerd/trusty-proposed

« back to all changes in this revision

Viewing changes to src/powerd.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ricardo Mendoza, Ubuntu daily release
  • Date: 2013-09-26 18:34:30 UTC
  • mfrom: (1.1.21)
  • Revision ID: package-import@ubuntu.com-20130926183430-96ol5ngzsbnqp0sz
Tags: 0.13+13.10.20130926-0ubuntu1
[ Ricardo Mendoza ]
* Allow powerd to work with unity-mir's DBus API for screen power
  control, selective using the backend available according to the
  running display server. (LP: #1193222)

[ Ubuntu daily release ]
* Automatic snapshot from revision 94

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
    if (button_state == BUTTON_DOWN) {
126
126
        button_state = SHUTDOWN;
127
127
        powerd_set_brightness(0);
128
 
        sf_blank(0);
 
128
        display_set_power_mode(0, "off");
129
129
        powerd_shutdown();
130
130
    }
131
131
 
496
496
 
497
497
    InputStackConfiguration config = {
498
498
    enable_touch_point_visualization : false,
499
 
    default_layer_for_touch_point_visualization : 10000
 
499
    default_layer_for_touch_point_visualization : 10000,
 
500
    input_area_width : 2048,
 
501
    input_area_height : 2048
500
502
    };
501
503
 
502
504
    android_input_stack_initialize(&listener, &config);