From: Dana Jansens Date: Mon, 17 Feb 2003 15:10:02 +0000 (+0000) Subject: add openbox_restack_window, and the state_add/remove/toggle values X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=dee0170babbdc292ad78294658b8b866d70b744e;p=chaz%2Fopenbox add openbox_restack_window, and the state_add/remove/toggle values --- diff --git a/otk/property.cc b/otk/property.cc index 2c171cce..a284c17e 100644 --- a/otk/property.cc +++ b/otk/property.cc @@ -128,6 +128,10 @@ void Property::initialize() atoms.net_wm_state_above = create("_NET_WM_STATE_ABOVE"); atoms.net_wm_state_below = create("_NET_WM_STATE_BELOW"); + atoms.net_wm_state_add = 1; + atoms.net_wm_state_remove = 0; + atoms.net_wm_state_toggle = 2; + atoms.kde_net_system_tray_windows = create("_KDE_NET_SYSTEM_TRAY_WINDOWS"); atoms.kde_net_wm_system_tray_window_for = create("_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR"); @@ -141,6 +145,7 @@ void Property::initialize() atoms.openbox_premax = create("_OPENBOX_PREMAX"); atoms.openbox_active_window = create("_OPENBOX_ACTIVE_WINDOW"); + atoms.openbox_restack_window = create("_OPENBOX_RESTACK_WINDOW"); } void Property::set(Window win, Atom atom, Atom type, unsigned char* data, diff --git a/otk/property.hh b/otk/property.hh index 0a26264c..a4bfb05b 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -121,6 +121,10 @@ 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; @@ -132,6 +136,7 @@ struct Atoms { Atom openbox_premax; Atom openbox_active_window; + Atom openbox_restack_window; };