X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FXAtom.hh;h=d92b01f0f0b3265d69423c03ffb7f8427ce8c26b;hb=87e63d53af67d5ea98f55a27007663d4c9c8fc6c;hp=839951a8796e088057c6380d59986116bb6cf454;hpb=f4c0547b7a90c9647a2c39c3d1a737142eab088e;p=chaz%2Fopenbox diff --git a/src/XAtom.hh b/src/XAtom.hh index 839951a8..d92b01f0 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, @@ -77,6 +78,9 @@ public: blackbox_change_window_focus, blackbox_cycle_window_focus, + openbox_show_root_menu, + openbox_show_workspace_menu, + // NETWM atoms // root window properties net_supported, @@ -146,6 +150,7 @@ public: kde_net_system_tray_windows, kde_net_wm_system_tray_window_for, + kde_net_wm_window_type_override, // constant for how many atoms exist in the enumerator NUM_ATOMS @@ -207,10 +212,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, long data4 = 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];