From 740c8af41e77a0cf5a748a7530d19405ad6739c0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 May 2007 01:41:48 +0000 Subject: add .desktops for running Openbox, KDE/Openbox and GNOME/Openbox add more .desktops for gnome and update it add scripts to run an KDE/Openbox and GNOME/Openbox session also add scripts for openbox-gnome and openbox-kde which are placeholders and will be replaced by real programs. also set the name on the wm_support_win to be how we were called (which is passed in the environment) rather than just "Openbox" add an envionment variable for wanting to be notified (SIGUSR2) when openbox reconfigures. this would be used by openbox-shell to update the root window.. if i make such a thing.. i dunno. --- openbox/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index 3c35395a..b0c3286a 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -153,7 +153,7 @@ static gboolean replace_wm() return TRUE; } -gboolean screen_annex() +gboolean screen_annex(const gchar *program_name) { XSetWindowAttributes attrib; pid_t pid; @@ -203,7 +203,7 @@ gboolean screen_annex() net_supporting_wm_check, window, screen_support_win); /* set properties on the supporting window */ - PROP_SETS(screen_support_win, net_wm_name, "Openbox"); + PROP_SETS(screen_support_win, net_wm_name, program_name); PROP_SET32(screen_support_win, net_supporting_wm_check, window, screen_support_win); -- cgit v1.2.3