#include "ply-logger.h"
#include "ply-rectangle.h"
#include "ply-region.h"
-#include "ply-terminal.h"
#include "ply-renderer.h"
#include "ply-renderer-plugin.h"
ply_event_loop_t *loop;
ply_renderer_input_source_t input_source;
ply_list_t *heads;
- ply_terminal_t *terminal;
ply_fd_watch_t *display_watch;
backend->loop = ply_event_loop_get_default ();
backend->heads = ply_list_new ();
backend->input_source.key_buffer = ply_buffer_new ();
- backend->terminal = terminal;
return backend;
}
ply_list_node_t *node;
assert (backend != NULL);
- /* Prevent other parts of plymouth from trying to use
- * the terminal, since X draws to it.
- */
- ply_terminal_ignore_mode_changes (backend->terminal, true);
-
node = ply_list_get_first_node (backend->heads);
while (node != NULL)
{
node = next_node;
}
-
- ply_terminal_ignore_mode_changes (backend->terminal, false);
}
static void