summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <DaveDavenport@users.noreply.github.com>2020-09-13 21:56:25 +0200
committerGitHub <noreply@github.com>2020-09-13 21:56:25 +0200
commit011908e1ffda06d09c9f163867cb6a7d68fd6c20 (patch)
tree699fd82ad33ec24fc07567c6f4b98dc79df49354 /include
parent3ffc8104688d89f794b1c2eb727062639098cfc2 (diff)
issue 1187: If error on launching application, show error message and return to list` (#1193)
* Show error message, then possibly pop back to main window. Fix drun/run dialog to use this for command execution. Issue #1187 * [Combi] When no line selected, handle using the first entry. * [Window] Add execute on invalid input to window dialog. * Update view.h doxygen docu * Update manpage with running application changes.
Diffstat (limited to 'include')
-rw-r--r--include/view.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/view.h b/include/view.h
index f5deac96..a91d0e3d 100644
--- a/include/view.h
+++ b/include/view.h
@@ -187,14 +187,24 @@ void rofi_view_free ( RofiViewState *state );
RofiViewState * rofi_view_get_active ( void );
/**
- * @param state the new active view handle, NULL to clear.
+ * @param state the new active view handle.
*
- * Set the current active view Handle.
+ * Set the current active view Handle, If NULL passed a queued view is popped
+ * from stack.
*
*/
+
void rofi_view_set_active ( RofiViewState *state );
/**
+ * @param state remove view handle.
+ *
+ * remove state handle from queue, if current view, pop view from
+ * stack.
+ *
+ */
+void rofi_view_remove_active ( RofiViewState *state );
+/**
* @param msg The error message to show.
* @param markup The error message uses pango markup.
*
@@ -265,6 +275,7 @@ void rofi_view_clear_input ( RofiViewState *state );
* TODO: Internal call to view exposed.
*/
void __create_window ( MenuFlags menu_flags );
+
/**
* Get the handle of the main window.
*