X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fserver.h;h=07876c6a2d08d592f7eb58844fb18c1fcd1d3fd6;hb=HEAD;hp=ec6bb1d32d7f38fbd3cecb0f3664bf8fc175d1b0;hpb=cb9b34cd2126963c3650feeb48e036fb256e9660;p=chaz%2Ftint2 diff --git a/src/server.h b/src/server.h index ec6bb1d..07876c6 100644 --- a/src/server.h +++ b/src/server.h @@ -13,10 +13,16 @@ #include #include +#ifdef HAVE_SN +#include +#include +#endif + typedef struct Global_atom { Atom _XROOTPMAP_ID; + Atom _XROOTMAP_ID; Atom _NET_CURRENT_DESKTOP; Atom _NET_NUMBER_OF_DESKTOPS; Atom _NET_DESKTOP_NAMES; @@ -70,9 +76,16 @@ typedef struct Global_atom Atom _XSETTINGS_SCREEN; Atom _XSETTINGS_SETTINGS; Atom XdndAware; + Atom XdndEnter; Atom XdndPosition; Atom XdndStatus; + Atom XdndDrop; Atom XdndLeave; + Atom XdndSelection; + Atom XdndTypeList; + Atom XdndActionCopy; + Atom XdndFinished; + Atom TARGETS; } Global_atom; @@ -110,6 +123,10 @@ typedef struct Colormap colormap; Colormap colormap32; Global_atom atom; +#ifdef HAVE_SN + SnDisplay *sn_dsp; + GTree *pids; +#endif // HAVE_SN } Server_global;