Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
output.c File Reference
#include "output.h"
#include "log.h"
+ Include dependency graph for output.c:

Go to the source code of this file.

Functions

bool is_running_wayland (void)
 
const struct outputoutput_create (bool force_xwayland)
 return an initialized output, selecting the correct output type from either wayland or X11 according to the settings and environment.
 

Detailed Description

License
BSD-3-Clause

Definition in file output.c.

Function Documentation

◆ is_running_wayland()

bool is_running_wayland ( void )

Definition at line 20 of file output.c.

◆ output_create()

const struct output * output_create ( bool force_xwayland)

return an initialized output, selecting the correct output type from either wayland or X11 according to the settings and environment.

When the wayland output fails to initilize, it falls back to X11 output.

Either output is skipped if it was not compiled.

Definition at line 99 of file output.c.