X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FXAtom.hh;h=8c790bf654df54cb348d691de8e36aa90c9a1f5d;hb=733b4f4a3366eca53dc68fd40069b673b0261c96;hp=839951a8796e088057c6380d59986116bb6cf454;hpb=f4c0547b7a90c9647a2c39c3d1a737142eab088e;p=chaz%2Fopenbox diff --git a/src/XAtom.hh b/src/XAtom.hh index 839951a8..8c790bf6 100644 --- a/src/XAtom.hh +++ b/src/XAtom.hh @@ -57,6 +57,7 @@ public: wm_change_state, wm_name, wm_icon_name, + wm_class, motif_wm_hints, blackbox_attributes, blackbox_change_attributes, @@ -207,10 +208,15 @@ public: bool getValue(Window win, Atoms atom, StringType type, std::string &value) const; bool getValue(Window win, Atoms atom, StringType type, - int &nelements, StringVect &strings) const; + unsigned long &nelements, StringVect &strings) const; void eraseValue(Window win, Atoms atom) const; + // sends a client message a window + void sendClientMessage(Window target, Atoms type, Window about, + long data = 0, long data1 = 0, long data2 = 0, + long data3 = 0) const; + // temporary function!! remove when not used in blackbox.hh anymore!! inline Atom getAtom(Atoms a) { assert(a >= 0 && a < NUM_ATOMS); Atom ret = _atoms[a];