]> Dogcows Code - chaz/openbox/commitdiff
updates for the build system. always set Openbox on the support window
authorDana Jansens <danakj@orodu.net>
Tue, 15 May 2007 02:32:49 +0000 (02:32 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 15 May 2007 02:32:49 +0000 (02:32 +0000)
Makefile.am
data/gnome-wm-properties/openbox.desktop
openbox/openbox.c
openbox/screen.c
openbox/screen.h

index 80737053a1c67a5b537782c086c462467772f65a..16fef2b9b71e9aa13d7cc7967fd678ae55305ca3 100644 (file)
@@ -31,7 +31,7 @@ bin_PROGRAMS = \
        openbox/openbox \
        tools/gnome-panel-control/gnome-panel-control
 
-bin_SCRIPTS = \
+nodist_bin_SCRIPTS = \
        data/xsession/openbox-session \
        data/xsession/openbox-gnome-session \
        data/xsession/openbox-kde-session
@@ -375,7 +375,6 @@ data/xsession/openbox-gnome.desktop: \
        @mkdir data 2>/dev/null || true
        @mkdir data/xsession 2>/dev/null || true
        @$(edit) $< >$@
-       @chmod a+x $@
 
 data/xsession/openbox-kde.desktop: \
                $(srcdir)/data/xsession/openbox-kde.desktop.in
@@ -383,7 +382,6 @@ data/xsession/openbox-kde.desktop: \
        @mkdir data 2>/dev/null || true
        @mkdir data/xsession 2>/dev/null || true
        @$(edit) $< >$@
-       @chmod a+x $@
 
 data/xsession/openbox.desktop: \
                $(srcdir)/data/xsession/openbox.desktop.in
@@ -391,7 +389,6 @@ data/xsession/openbox.desktop: \
        @mkdir data 2>/dev/null || true
        @mkdir data/xsession 2>/dev/null || true
        @$(edit) $< >$@
-       @chmod a+x $@
 
 data/xsession/openbox-gnome-session: \
                $(srcdir)/data/xsession/openbox-gnome-session.in
@@ -440,21 +437,12 @@ doc/openbox-kde-session.1: $(srcdir)/doc/openbox-kde-session.1.sgml
 dist_gnomewmfiles_DATA = \
        data/gnome-wm-properties/openbox.desktop
 
-dist_xsessions_DATA = \
+nodist_xsessions_DATA = \
        data/xsession/openbox.desktop \
        data/xsession/openbox-gnome.desktop \
        data/xsession/openbox-kde.desktop
 
 dist_noinst_DATA = \
-       debian/changelog.in \
-       debian/compat \
-       debian/conffiles \
-       debian/control \
-       debian/copyright \
-       debian/menu \
-       debian/postinst \
-       debian/postrm \
-       debian/rules \
        version.h.in \
        data/rc.xsd \
        data/menu.xsd \
@@ -465,6 +453,10 @@ dist_noinst_DATA = \
        data/xsession/openbox-session.in \
        data/xsession/openbox-gnome-session.in \
        data/xsession/openbox-kde-session.in \
+       doc/openbox.1.sgml \
+       doc/openbox-session.1.sgml \
+       doc/openbox-gnome-session.1.sgml \
+       doc/openbox-kde-session.1.sgml \
        render/obrender-3.0.pc.in \
        parser/obparser-3.0.pc.in \
        tools/themeupdate/themeupdate.py \
@@ -489,6 +481,8 @@ dist_doc_DATA = \
        COMPLIANCE \
        README \
        AUTHORS \
+       CHANGELOG \
+       COPYING \
        data/rc.xsd \
        data/menu.xsd \
        data/themerc.xsd \
@@ -501,10 +495,17 @@ dist_man_MANS = \
        doc/openbox-kde-session.1
 
 EXTRA_DIST = \
+       debian/changelog.in \
+       debian/compat \
+       debian/conffiles \
+       debian/control \
+       debian/copyright \
+       debian/menu \
+       debian/postinst \
+       debian/postrm \
+       debian/rules \
        config.rpath \
-       mkinstalldirs \
-       CHANGELOG \
-       COPYING
+       mkinstalldirs
 
 #doc:
 #       $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
index 96418613767b2151f9861825d71fb218c9b2f06f..eee0dd60a0ad5e55339d97803c58551092478aaf 100644 (file)
@@ -3,7 +3,7 @@ Name=Openbox
 Exec=openbox
 
 # name we put on the WM spec check window
-X-GNOME-WMName=openbox
+X-GNOME-WMName=Openbox
 
 # our config tool
 ConfigExec=obconf
index ee3911d982e3448869bd52ae89dd93b653086160..78b5322373021c7e6267be94059a133c15089dda 100644 (file)
@@ -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);
 
index d71c9eaafd5c039a9d3932f6399ec3d2ed2611fe..eff8674bfba13e4056f12b3e93c6d132cb38a46f 100644 (file)
@@ -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);
 
index a694f66349cf4ac16d528f622bfaaad25ff56ea6..bd96ab200992f998d00ca9d099c0befda1974dd4 100644 (file)
@@ -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);
This page took 0.030031 seconds and 4 git commands to generate.