Merge branch 'backport' into work
authorDana Jansens <danakj@orodu.net>
Mon, 21 Dec 2009 15:43:38 +0000 (10:43 -0500)
committerDana Jansens <danakj@orodu.net>
Mon, 21 Dec 2009 15:43:38 +0000 (10:43 -0500)
.gitignore
Makefile.am
data/rc.xml
openbox/event.c
tools/obxprop/Makefile [moved from tools/obprop/Makefile with 100% similarity]
tools/obxprop/obxprop.c [moved from tools/obprop/obprop.c with 99% similarity]

index fa2b390..39c864c 100644 (file)
@@ -52,7 +52,7 @@ render/obrender-4.0.pc
 obt/obt-4.0.pc
 tools/gnome-panel-control/gnome-panel-control
 tools/gdm-control/gdm-control
-tools/obprop/obprop
+tools/obxprop/obxprop
 version.h
 .libs
 .deps
index 4384054..3934b62 100644 (file)
@@ -34,7 +34,7 @@ bin_PROGRAMS = \
        openbox/openbox \
        tools/gdm-control/gdm-control \
        tools/gnome-panel-control/gnome-panel-control \
-       tools/obprop/obprop
+       tools/obxprop/obxprop
 
 dist_secretbin_SCRIPTS = \
        tools/xdg-autostart/xdg-autostart
@@ -290,16 +290,16 @@ tools_gnome_panel_control_gnome_panel_control_LDADD = \
 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
        tools/gnome-panel-control/gnome-panel-control.c
 
-## obprop ##
+## obxprop ##
 
-tools_obprop_obprop_CPPFLAGS = \
+tools_obxprop_obxprop_CPPFLAGS = \
        $(GLIB_CFLAGS) \
        $(X_CFLAGS)
-tools_obprop_obprop_LDADD = \
+tools_obxprop_obxprop_LDADD = \
        $(GLIB_LIBS) \
        $(X_LIBS)
-tools_obprop_obprop_SOURCES = \
-       tools/obprop/obprop.c
+tools_obxprop_obxprop_SOURCES = \
+       tools/obxprop/obxprop.c
 
 ## gdm-control ##
 
index ff9016d..e5eb917 100644 (file)
   # this is an example with comments through out. use these to make your
   # own rules, but without the comments of course.
 
-  <application name="the window's _OB_NAME property (see obprop)"
-              class="the window's _OB_CLASS property (see obprop)"
-               role="the window's _OB_ROLE property (see obprop)"
-               type="the window's _NET_WM_WINDOW_TYPE (see obprob)..
+  <application name="the window's _OB_NAME property (see obxprop)"
+              class="the window's _OB_CLASS property (see obxprop)"
+               role="the window's _OB_ROLE property (see obxprop)"
+               type="the window's _NET_WM_WINDOW_TYPE (see obxprob)..
                       (if unspecified, then it is 'dialog' for child windows)">
   # the name or the class can be set, or both. this is used to match
   # windows when they appear. role can optionally be set as well, to
index 1b7b773..2f853fb 100644 (file)
@@ -1926,8 +1926,7 @@ static void event_handle_menu(ObMenuFrame *frame, XEvent *ev)
             break;
 
         if ((e = g_hash_table_lookup(menu_frame_map, &ev->xcrossing.window)) &&
-            (f = find_active_menu()) && f->selected == e &&
-            e->entry->type != OB_MENU_ENTRY_TYPE_SUBMENU)
+            (f = find_active_menu()) && f->selected == e)
         {
             ObMenuEntryFrame *u = menu_entry_frame_under(ev->xcrossing.x_root,
                                                          ev->xcrossing.y_root);
similarity index 100%
rename from tools/obprop/Makefile
rename to tools/obxprop/Makefile
similarity index 99%
rename from tools/obprop/obprop.c
rename to tools/obxprop/obxprop.c
index e288d7c..2685154 100644 (file)
@@ -12,7 +12,7 @@ gint fail(const gchar *s) {
     else
         fprintf
             (stderr,
-             "Usage: obprop [OPTIONS]\n\n"
+             "Usage: obxprop [OPTIONS]\n\n"
              "Options:\n"
              "    --help              Display this help and exit\n"
              "    --display DISPLAY   Connect to this X display\n"