forked from mati75/evilwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathewmh.h
36 lines (26 loc) · 1.05 KB
/
ewmh.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* evilwm - minimalist window manager for X11
* Copyright (C) 1999-2022 Ciaran Anscomb <[email protected]>
* see README for license and other details. */
#ifndef EVILWM_EWMH_H_
#define EVILWM_EWMH_H_
// Extended Window Manager Hints
// https://specifications.freedesktop.org/wm-spec/latest/
#include <X11/X.h>
// EWMH window type bits
#define EWMH_WINDOW_TYPE_DESKTOP (1<<0)
#define EWMH_WINDOW_TYPE_DOCK (1<<1)
#define EWMH_WINDOW_TYPE_NOTIFICATION (1<<2)
struct client;
struct screen;
void ewmh_set_screen_workarea(struct screen *s);
void ewmh_set_net_client_list(struct screen *s);
void ewmh_set_net_client_list_stacking(struct screen *s);
void ewmh_set_net_current_desktop(struct screen *s);
void ewmh_set_allowed_actions(struct client *c);
void ewmh_remove_allowed_actions(struct client *c);
void ewmh_withdraw_client(struct client *c);
void ewmh_set_net_wm_desktop(struct client *c);
unsigned ewmh_get_net_wm_window_type(Window w);
void ewmh_set_net_wm_state(struct client *c);
void ewmh_set_net_frame_extents(Window w, unsigned long border);
#endif