Skip to content

Commit

Permalink
patched generic handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrozanti committed Jun 22, 2019
1 parent 56a5483 commit b490bd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,16 @@ cdbus_process_opts_set(session_t *ps, DBusMessage *msg) {
goto cdbus_process_opts_set_success;
}

// set blur strength
if (!strcmp("blur_strength", target)) {
cdbus_enum_t val = UNSET;
if (!cdbus_msg_get_arg(msg, 1, CDBUS_TYPE_ENUM, &val))
return false;
ps->o.blur_strength = val;
force_repaint(ps);
goto cdbus_process_opts_set_success;
}

// stoppaint_force
cdbus_m_opts_set_do(stoppaint_force, CDBUS_TYPE_ENUM, cdbus_enum_t);

Expand Down

0 comments on commit b490bd4

Please sign in to comment.