Replace duplicate "__" workspace prefix checks with a single function.
This commit is contained in:
@ -66,6 +66,12 @@ Con *con_parent_with_orientation(Con *con, orientation_t orientation);
|
||||
*/
|
||||
Con *con_get_fullscreen_con(Con *con, int fullscreen_mode);
|
||||
|
||||
/**
|
||||
* Returns true if the container is internal, such as __i3_scratch
|
||||
*
|
||||
*/
|
||||
bool con_is_internal(Con *con);
|
||||
|
||||
/**
|
||||
* Returns true if the node is floating.
|
||||
*
|
||||
|
Reference in New Issue
Block a user