diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-15 02:32:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-15 02:32:49 +0000 |
| commit | 9aa5ca29ae29b1ab26e5c0299ab161beee9680b3 (patch) | |
| tree | f9467d48cab21a0284c4f66ce768f0afb5facae8 /openbox | |
| parent | b74cff0302e70d702e958a8205a6f6e2e2858192 (diff) | |
updates for the build system. always set Openbox on the support window
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/openbox.c | 2 | ||||
| -rw-r--r-- | openbox/screen.c | 4 | ||||
| -rw-r--r-- | openbox/screen.h | 2 |
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); |
