From 9aa5ca29ae29b1ab26e5c0299ab161beee9680b3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 May 2007 02:32:49 +0000 Subject: updates for the build system. always set Openbox on the support window --- openbox/openbox.c | 2 +- openbox/screen.c | 4 ++-- openbox/screen.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'openbox') 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); -- cgit v1.2.3