diff options
Diffstat (limited to 'src/resource/resource-display.c')
-rw-r--r-- | src/resource/resource-display.c | 6 |
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); |