but rename ob_pid back to openbox_pid for backwards compatibility. this will go away entirely soon.
This commit is contained in:
parent
99e23015cf
commit
0ef82a1bda
3 changed files with 5 additions and 5 deletions
|
@ -170,7 +170,7 @@ void prop_startup()
|
||||||
CREATE(esetrootid, "ESETROOT_PMAP_ID");
|
CREATE(esetrootid, "ESETROOT_PMAP_ID");
|
||||||
*/
|
*/
|
||||||
|
|
||||||
CREATE(ob_pid, "_OB_PID");
|
CREATE(openbox_pid, "_OPENBOX_PID");
|
||||||
CREATE(ob_config, "_OB_CONFIG");
|
CREATE(ob_config, "_OB_CONFIG");
|
||||||
CREATE(ob_wm_state_undecorated, "_OB_WM_STATE_UNDECORATED");
|
CREATE(ob_wm_state_undecorated, "_OB_WM_STATE_UNDECORATED");
|
||||||
CREATE(ob_control, "_OB_CONTROL");
|
CREATE(ob_control, "_OB_CONTROL");
|
||||||
|
|
|
@ -191,7 +191,7 @@ typedef struct Atoms {
|
||||||
/* Openbox specific atoms */
|
/* Openbox specific atoms */
|
||||||
|
|
||||||
Atom ob_wm_state_undecorated;
|
Atom ob_wm_state_undecorated;
|
||||||
Atom ob_pid; /* this is depreecated in favour of ob_control */
|
Atom openbox_pid; /* this is depreecated in favour of ob_control */
|
||||||
Atom ob_config;
|
Atom ob_config;
|
||||||
Atom ob_control;
|
Atom ob_control;
|
||||||
} Atoms;
|
} Atoms;
|
||||||
|
|
|
@ -196,7 +196,7 @@ gboolean screen_annex(const gchar *program_name)
|
||||||
/* set the OPENBOX_PID hint */
|
/* set the OPENBOX_PID hint */
|
||||||
pid = getpid();
|
pid = getpid();
|
||||||
PROP_SET32(RootWindow(ob_display, ob_screen),
|
PROP_SET32(RootWindow(ob_display, ob_screen),
|
||||||
ob_pid, cardinal, pid);
|
openbox_pid, cardinal, pid);
|
||||||
|
|
||||||
/* set supporting window */
|
/* set supporting window */
|
||||||
PROP_SET32(RootWindow(ob_display, ob_screen),
|
PROP_SET32(RootWindow(ob_display, ob_screen),
|
||||||
|
@ -290,7 +290,7 @@ gboolean screen_annex(const gchar *program_name)
|
||||||
supported[i++] = prop_atoms.kde_net_wm_window_type_override;
|
supported[i++] = prop_atoms.kde_net_wm_window_type_override;
|
||||||
|
|
||||||
supported[i++] = prop_atoms.ob_wm_state_undecorated;
|
supported[i++] = prop_atoms.ob_wm_state_undecorated;
|
||||||
supported[i++] = prop_atoms.ob_pid;
|
supported[i++] = prop_atoms.openbox_pid;
|
||||||
supported[i++] = prop_atoms.ob_config;
|
supported[i++] = prop_atoms.ob_config;
|
||||||
supported[i++] = prop_atoms.ob_control;
|
supported[i++] = prop_atoms.ob_control;
|
||||||
g_assert(i == num_support);
|
g_assert(i == num_support);
|
||||||
|
@ -373,7 +373,7 @@ void screen_shutdown(gboolean reconfig)
|
||||||
NoEventMask);
|
NoEventMask);
|
||||||
|
|
||||||
/* we're not running here no more! */
|
/* we're not running here no more! */
|
||||||
PROP_ERASE(RootWindow(ob_display, ob_screen), ob_pid);
|
PROP_ERASE(RootWindow(ob_display, ob_screen), openbox_pid);
|
||||||
/* not without us */
|
/* not without us */
|
||||||
PROP_ERASE(RootWindow(ob_display, ob_screen), net_supported);
|
PROP_ERASE(RootWindow(ob_display, ob_screen), net_supported);
|
||||||
/* don't keep this mode */
|
/* don't keep this mode */
|
||||||
|
|
Loading…
Reference in a new issue