summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSung-hun Kim <sfoon.kim@samsung.com>2023-12-14 16:57:24 +0900
committerSung-hun Kim <sfoon.kim@samsung.com>2023-12-14 17:16:12 +0900
commitf51b3c3941dbed06ded3d6f7001f7d271770ac6c (patch)
tree67844a1bbf9e760067ecc8cc4ce1417f7f3cc948 /src
parenta4b7210e99dd65501e70203144cf34e08e7e7d56 (diff)
downloadpass-f51b3c3941dbed06ded3d6f7001f7d271770ac6c.tar.gz
pass-f51b3c3941dbed06ded3d6f7001f7d271770ac6c.tar.bz2
pass-f51b3c3941dbed06ded3d6f7001f7d271770ac6c.zip
resource-monitor: Add a body of the dbus request message for applying the change of enlightenment
Due to the change of enlightenment, the dbus request message should have a body which includes a string type argument. For understanding the change of enlightenment, please refer the below commit: https://review.tizen.org/gerrit/gitweb?p=platform/upstream/enlightenment.git;a=commit;h=fa89f84645623c0522c1d6327ec60c45648da0af Change-Id: Ida0553cfd0bb2172ae3145f03d89e53d290b72e7 Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/resource/resource-display.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resource/resource-display.c b/src/resource/resource-display.c
index d34f05d..7e090df 100644
--- a/src/resource/resource-display.c
+++ b/src/resource/resource-display.c
@@ -92,6 +92,12 @@ static int display_read_fps(int resource_index)
goto err_conn;
}
+ /*
+ * "none" means the request wants to get the FPS values of all windows.
+ * To get the FPS value of the specific window, the window id should be
+ * given instead of "none"
+ */
+ g_dbus_message_set_body(msg, g_variant_new("(s)", "none"));
reply = g_dbus_connection_send_message_with_reply_sync(conn, msg,
G_DBUS_SEND_MESSAGE_FLAGS_NONE,
G_MAXINT, NULL, NULL, &err);