X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fserver.h;h=aba113255c11c24b818124b036f4d65e7500c814;hb=1b1f2a1a069edcf3db99ae07020eeedae3023f76;hp=00e40d39c2e2ecd8a4d9dc080fe35d9527384123;hpb=ce50a6305fd40385929dd383655292fd475d2df0;p=chaz%2Ftint2 diff --git a/src/server.h b/src/server.h index 00e40d3..aba1132 100644 --- a/src/server.h +++ b/src/server.h @@ -11,7 +11,6 @@ #include #include -#include #include @@ -27,6 +26,7 @@ typedef struct Global_atom Atom _NET_WM_STATE_SKIP_PAGER; Atom _NET_WM_STATE_SKIP_TASKBAR; Atom _NET_WM_STATE_STICKY; + Atom _NET_WM_STATE_DEMANDS_ATTENTION; Atom _NET_WM_WINDOW_TYPE_DOCK; Atom _NET_WM_WINDOW_TYPE_DESKTOP; Atom _NET_WM_WINDOW_TYPE_TOOLBAR; @@ -37,6 +37,8 @@ typedef struct Global_atom Atom _NET_WM_DESKTOP; Atom WM_STATE; Atom _NET_WM_STATE; + Atom _NET_WM_STATE_MAXIMIZED_VERT; + Atom _NET_WM_STATE_MAXIMIZED_HORZ; Atom _NET_WM_STATE_SHADED; Atom _NET_WM_STATE_BELOW; Atom _NET_WM_STATE_MODAL; @@ -48,15 +50,21 @@ typedef struct Global_atom Atom _NET_CLOSE_WINDOW; Atom UTF8_STRING; Atom _NET_SUPPORTING_WM_CHECK; - Atom _WIN_LAYER; Atom _NET_WM_STRUT_PARTIAL; Atom WM_NAME; Atom __SWM_VROOT; Atom _MOTIF_WM_HINTS; + Atom WM_HINTS; Atom _NET_SYSTEM_TRAY_SCREEN; Atom _NET_SYSTEM_TRAY_OPCODE; Atom MANAGER; Atom _NET_SYSTEM_TRAY_MESSAGE_DATA; + Atom _NET_SYSTEM_TRAY_ORIENTATION; + Atom _XEMBED; + Atom _XEMBED_INFO; + Atom XdndAware; + Atom XdndPosition; + Atom XdndStatus; } Global_atom; @@ -94,7 +102,7 @@ typedef struct Server_global server; -void send_event32 (Window win, Atom at, long data1, long data2); +void send_event32 (Window win, Atom at, long data1, long data2, long data3); int get_property32 (Window win, Atom at, Atom type); void *server_get_property (Window win, Atom at, Atom type, int *num_results); Atom server_get_atom (char *atom_name); @@ -107,7 +115,8 @@ void server_init_atoms (); void get_root_pixmap(); // detect monitors and desktops -void get_monitors_and_desktops(); +void get_monitors(); +void get_desktops(); #endif