add openbox_restack_window, and the state_add/remove/toggle values

This commit is contained in:
Dana Jansens 2003-02-17 15:10:02 +00:00
parent b3879a2323
commit dee0170bab
2 changed files with 10 additions and 0 deletions

View file

@ -128,6 +128,10 @@ void Property::initialize()
atoms.net_wm_state_above = create("_NET_WM_STATE_ABOVE"); atoms.net_wm_state_above = create("_NET_WM_STATE_ABOVE");
atoms.net_wm_state_below = create("_NET_WM_STATE_BELOW"); 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_system_tray_windows = create("_KDE_NET_SYSTEM_TRAY_WINDOWS");
atoms.kde_net_wm_system_tray_window_for = atoms.kde_net_wm_system_tray_window_for =
create("_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_premax = create("_OPENBOX_PREMAX");
atoms.openbox_active_window = create("_OPENBOX_ACTIVE_WINDOW"); 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, void Property::set(Window win, Atom atom, Atom type, unsigned char* data,

View file

@ -121,6 +121,10 @@ struct Atoms {
Atom net_wm_state_above; Atom net_wm_state_above;
Atom net_wm_state_below; 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_system_tray_windows;
Atom kde_net_wm_system_tray_window_for; Atom kde_net_wm_system_tray_window_for;
Atom kde_net_wm_window_type_override; Atom kde_net_wm_window_type_override;
@ -132,6 +136,7 @@ struct Atoms {
Atom openbox_premax; Atom openbox_premax;
Atom openbox_active_window; Atom openbox_active_window;
Atom openbox_restack_window;
}; };