]> git.mdlowis.com Git - proto/labwc.git/commitdiff
include/labwc.h desktop_cycle_view: Clarify signature
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 14 Jun 2022 23:22:44 +0000 (01:22 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 15 Jun 2022 15:14:02 +0000 (16:14 +0100)
include/labwc.h

index 5cfb91b3800ff3f7b2e8b882adc62f78cf820d89..9e083a7e247479945a19da6cb78e91a27681b810 100644 (file)
@@ -454,10 +454,10 @@ enum lab_cycle_dir {
 
 /**
  * desktop_cycle_view - return view to 'cycle' to
- * @current: reference point for finding next view to cycle to
- * Note: If !current, the server->views second focusable view is returned
+ * @start_view: reference point for finding next view to cycle to
+ * Note: If !start_view, the second focusable view is returned
  */
-struct view *desktop_cycle_view(struct server *server, struct view *current,
+struct view *desktop_cycle_view(struct server *server, struct view *start_view,
        enum lab_cycle_dir dir);
 struct view *desktop_focused_view(struct server *server);
 void desktop_focus_topmost_mapped_view(struct server *server);