i3
CommandResult Struct Reference

A struct that contains useful information about the result of a command as a whole (e.g. More...

#include <commands_parser.h>

Data Fields

bool parse_error
 
char * error_message
 
bool needs_tree_render
 

Detailed Description

A struct that contains useful information about the result of a command as a whole (e.g.

a compound command like "floating enable, border none"). needs_tree_render is true if needs_tree_render of any individual command was true.

Definition at line 46 of file commands_parser.h.

Field Documentation

◆ error_message

char* CommandResult::error_message

Definition at line 49 of file commands_parser.h.

Referenced by command_result_free(), and parse_command().

◆ needs_tree_render

bool CommandResult::needs_tree_render

Definition at line 50 of file commands_parser.h.

Referenced by IPC_HANDLER(), parse_command(), run_assignments(), and run_binding().

◆ parse_error

bool CommandResult::parse_error

Definition at line 47 of file commands_parser.h.

Referenced by parse_command(), and run_binding().


The documentation for this struct was generated from the following file: