Lines Matching defs:mode
30 It will first release all the previous stored mode related objects, and if the window wasn't
32 pages). Then it sets the mode variable of the window. This means that using this helper function
33 to set the mode to W_MODE_EMPTY will effectively delete all the mode-related objects and unmap
36 @param window The window to switch mode for. (No ownership)
37 @param mode The new mode to switch to.
40 window_switch_mode(struct w_window* window, enum w_window_mode mode)
42 /* Clean up all windoe mode states. */
61 if (window->mode != W_MODE_EMPTY) {
72 window->mode = mode;
117 /* Clean up window mode state. */
183 w->mode = W_MODE_EMPTY;