Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
wl.h File Reference

Wayland window managment. More...

#include <stdbool.h>
#include <cairo.h>
#include <glib.h>
#include "../output.h"
+ Include dependency graph for wl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool wl_init (void)
 
void wl_deinit (void)
 
window wl_win_create (void)
 
void wl_win_destroy (window)
 
void wl_win_show (window)
 
void wl_win_hide (window)
 
void wl_display_surface (cairo_surface_t *srf, window win, const struct dimensions *)
 
cairo_t * wl_win_get_context (window)
 
const struct screen_infowl_get_active_screen (void)
 
bool wl_is_idle (void)
 
bool wl_have_fullscreen_window (void)
 
double wl_get_scale (void)
 

Detailed Description

Wayland window managment.

License
BSD-3-Clause

Definition in file wl.h.

Function Documentation

◆ wl_deinit()

void wl_deinit ( void )

Definition at line 406 of file wl.c.

◆ wl_display_surface()

void wl_display_surface ( cairo_surface_t * srf,
window win,
const struct dimensions * dim )

Definition at line 722 of file wl.c.

◆ wl_get_active_screen()

const struct screen_info * wl_get_active_screen ( void )

Definition at line 759 of file wl.c.

◆ wl_get_scale()

double wl_get_scale ( void )

Definition at line 825 of file wl.c.

◆ wl_have_fullscreen_window()

bool wl_have_fullscreen_window ( void )

Definition at line 800 of file wl.c.

◆ wl_init()

bool wl_init ( void )

Definition at line 293 of file wl.c.

◆ wl_is_idle()

bool wl_is_idle ( void )

Definition at line 783 of file wl.c.

◆ wl_win_create()

window wl_win_create ( void )

Definition at line 699 of file wl.c.

◆ wl_win_destroy()

void wl_win_destroy ( window winptr)

Definition at line 704 of file wl.c.

◆ wl_win_get_context()

cairo_t * wl_win_get_context ( window winptr)

Definition at line 746 of file wl.c.

◆ wl_win_hide()

void wl_win_hide ( window win)

Definition at line 715 of file wl.c.

◆ wl_win_show()

void wl_win_show ( window win)

Definition at line 710 of file wl.c.