summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/openbox.c2
-rw-r--r--openbox/screen.c4
-rw-r--r--openbox/screen.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index ee3911d9..78b53223 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -212,7 +212,7 @@ gint main(gint argc, gchar **argv)
prop_startup(); /* get atoms values for the display */
extensions_query_all(); /* find which extensions are present */
- if (screen_annex(program_name)) { /* it will be ours! */
+ if (screen_annex()) { /* it will be ours! */
do {
modkeys_startup(reconfigure);
diff --git a/openbox/screen.c b/openbox/screen.c
index d71c9eaa..eff8674b 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -153,7 +153,7 @@ static gboolean replace_wm()
return TRUE;
}
-gboolean screen_annex(const gchar *program_name)
+gboolean screen_annex()
{
XSetWindowAttributes attrib;
pid_t pid;
@@ -203,7 +203,7 @@ gboolean screen_annex(const gchar *program_name)
net_supporting_wm_check, window, screen_support_win);
/* set properties on the supporting window */
- PROP_SETS(screen_support_win, net_wm_name, program_name);
+ PROP_SETS(screen_support_win, net_wm_name, "Openbox");
PROP_SET32(screen_support_win, net_supporting_wm_check,
window, screen_support_win);
diff --git a/openbox/screen.h b/openbox/screen.h
index a694f663..bd96ab20 100644
--- a/openbox/screen.h
+++ b/openbox/screen.h
@@ -53,7 +53,7 @@ extern DesktopLayout screen_desktop_layout;
extern gchar **screen_desktop_names;
/*! Take over the screen, set the basic hints on it claming it as ours */
-gboolean screen_annex(const gchar *program_name);
+gboolean screen_annex();
/*! Once the screen is ours, set up its initial state */
void screen_startup(gboolean reconfig);