From: Dana Jansens Date: Fri, 17 Jan 2003 07:48:38 +0000 (+0000) Subject: add new actions from the ewmh spec X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=08a28187c441ec6bd0420c16f8091e28db4bac64;p=chaz%2Fopenbox add new actions from the ewmh spec --- diff --git a/otk/property.cc b/otk/property.cc index a51a2353..b12ff503 100644 --- a/otk/property.cc +++ b/otk/property.cc @@ -107,9 +107,12 @@ void Property::initialize() atoms.net_wm_action_move = create("_NET_WM_ACTION_MOVE"); atoms.net_wm_action_resize = create("_NET_WM_ACTION_RESIZE"); + atoms.net_wm_action_minimize = create("_NET_WM_ACTION_MINIMIZE"); atoms.net_wm_action_shade = create("_NET_WM_ACTION_SHADE"); + atoms.net_wm_action_stick = create("_NET_WM_ACTION_STICK"); atoms.net_wm_action_maximize_horz = create("_NET_WM_ACTION_MAXIMIZE_HORZ"); atoms.net_wm_action_maximize_vert = create("_NET_WM_ACTION_MAXIMIZE_VERT"); + atoms.net_wm_action_fullscreen = create("_NET_WM_ACTION_FULLSCREEN"); atoms.net_wm_action_change_desktop = create("_NET_WM_ACTION_CHANGE_DESKTOP"); atoms.net_wm_action_close = create("_NET_WM_ACTION_CLOSE"); diff --git a/otk/property.hh b/otk/property.hh index 1e379448..9ff30887 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -99,9 +99,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;