X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fproperty.hh;h=1376269233d5dafd835cfc934d6585f3a9e2f933;hb=60cbb9ee92058b7d52bf2a4542c64c7858b00cdd;hp=1e3794481c026632819da646cbf6c3847e48d36d;hpb=d8aff44a6a639de83ba8f0957f9f9f17f2a05532;p=chaz%2Fopenbox diff --git a/otk/property.hh b/otk/property.hh index 1e379448..13762692 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -11,11 +11,10 @@ extern "C" { #include - -#include } #include +#include namespace otk { @@ -61,6 +60,8 @@ struct Atoms { Atom net_workarea; Atom net_supporting_wm_check; // Atom net_virtual_roots; + Atom net_desktop_layout; + Atom net_showing_desktop; // root window messages Atom net_close_window; Atom net_wm_moveresize; @@ -75,7 +76,7 @@ struct Atoms { Atom net_wm_state; Atom net_wm_strut; // Atom net_wm_icon_geometry; -// Atom net_wm_icon; + Atom net_wm_icon; // Atom net_wm_pid; // Atom net_wm_handled_icons; Atom net_wm_allowed_actions; @@ -99,9 +100,12 @@ struct Atoms { Atom net_wm_action_move; Atom net_wm_action_resize; + Atom net_wm_action_minimize; Atom net_wm_action_shade; + Atom net_wm_action_stick; Atom net_wm_action_maximize_horz; Atom net_wm_action_maximize_vert; + Atom net_wm_action_fullscreen; Atom net_wm_action_change_desktop; Atom net_wm_action_close; @@ -117,9 +121,22 @@ struct Atoms { Atom net_wm_state_above; Atom net_wm_state_below; + Atom net_wm_state_add; + Atom net_wm_state_remove; + Atom net_wm_state_toggle; + Atom kde_net_system_tray_windows; Atom kde_net_wm_system_tray_window_for; Atom kde_net_wm_window_type_override; + + Atom kwm_win_icon; + + Atom rootpmapid; + Atom esetrootid; + + Atom openbox_premax; + Atom openbox_active_window; + Atom openbox_restack_window; }; @@ -213,10 +230,7 @@ public: struct returned by Property::atoms. @param type The Atom value of the property type. This can be found in the struct returned by Property::atoms. - @param nelements The maximum number of elements to retrieve from the - property (assuming it has more than 1 value in it). To - retrieve all possible elements, use "(unsigned) -1".
- When the function returns, if it returns true, this will + @param nelements When the function returns, if it returns true, this will contain the actual number of elements retrieved.
@param value If the function returns true, then this contains an array of retrieved values for the property.
@@ -265,10 +279,7 @@ public: struct returned by Property::atoms. @param type A member of the Property::StringType enum that specifies the type of the string property to retrieve - @param nelements The maximum number of strings to retrieve from the - property (assuming it has more than 1 string in it). To - retrieve all possible strings, use "(unsigned) -1".
- When the function returns, if it returns true, this will + @param nelements When the function returns, if it returns true, this will contain the actual number of strings retrieved.
@param strings If the function returns true, then this contains all of the strings retrieved from the property's value.