mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
RatbagdLed: emit DefaultResolutionChanged on the resolution's object
path See https://github.com/libratbag/piper/pull/36#issuecomment-315065722
This commit is contained in:
committed by
Peter Hutterer
parent
de16f1a4b1
commit
f05950f37c
@@ -112,9 +112,11 @@ static int ratbagd_resolution_set_default(sd_bus_message *m,
|
||||
int r;
|
||||
|
||||
r = ratbag_resolution_set_default(resolution->lib_resolution);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
(void) sd_bus_emit_signal(sd_bus_message_get_bus(m),
|
||||
RATBAGD_OBJ_ROOT,
|
||||
resolution->path,
|
||||
RATBAGD_NAME_ROOT ".Resolution",
|
||||
"DefaultResolutionChanged",
|
||||
"u",
|
||||
|
||||
Reference in New Issue
Block a user