]> Dogcows Code - chaz/openbox/commitdiff
add openbox_restack_window, and the state_add/remove/toggle values
authorDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 15:10:02 +0000 (15:10 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 15:10:02 +0000 (15:10 +0000)
otk/property.cc
otk/property.hh

index 2c171ccee8a9b1cd5422dcf661777524c39e4fbf..a284c17eed4b42c482711d5c1f64600ba2c90560 100644 (file)
@@ -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,
index 0a26264c896d0948772a0a551a239caf59587a08..a4bfb05b2ce3fce6f130230d0ecd4b5bcd48ce61 100644 (file)
@@ -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;
 };
 
 
This page took 0.026258 seconds and 4 git commands to generate.