Xorg screen managment.
More...
#include <stdbool.h>
#include <X11/Xlib.h>
Go to the source code of this file.
|
| #define | INRECT(x, y, rx, ry, rw, rh) |
| |
Xorg screen managment.
- Copyright
- Copyright 2013-2014 Sascha Kruse
-
Copyright 2014-2026 Dunst contributors
- License
- BSD-3-Clause
Definition in file screen.h.
◆ INRECT
| #define INRECT |
( |
| x, |
|
|
| y, |
|
|
| rx, |
|
|
| ry, |
|
|
| rw, |
|
|
| rh ) |
Value:((x) >= (rx) && (x) < (rx)+(rw) && (y) >= (ry) && (y) < (ry)+(rh))
Definition at line 17 of file screen.h.
◆ get_active_screen()
◆ have_fullscreen_window()
| bool have_fullscreen_window |
( |
void | | ) |
|
Find the currently focused window and check if it's in fullscreen mode.
- See also
- window_is_fullscreen()
-
get_focused_window()
- Return values
-
| true | if the focused window is in fullscreen mode |
| false | otherwise |
Definition at line 238 of file screen.c.
◆ init_screens()
| void init_screens |
( |
void | | ) |
|
◆ screen_check_event()
| bool screen_check_event |
( |
XEvent * | ev | ) |
|
◆ screen_dpi_get()
| double screen_dpi_get |
( |
const struct screen_info * | scr | ) |
|
◆ screen_dpi_xft_cache_purge()
| void screen_dpi_xft_cache_purge |
( |
void | | ) |
|
◆ window_is_fullscreen()
| bool window_is_fullscreen |
( |
Window | window | ) |
|
Check if window is in fullscreen mode.
- Parameters
-
| window | the x11 window object |
- Return values
-
| true | if window is in fullscreen mode |
| false | otherwise |
Definition at line 262 of file screen.c.