]> Dogcows Code - chaz/openbox/blobdiff - obt/prop.c
Use GMainLoop instead of ObtMainLoop
[chaz/openbox] / obt / prop.c
index 1e324b928a02e030f06ea7509a580be139ba6fb5..bef9c9996d4d091707d7cf9ed4b0016c6da7025d 100644 (file)
@@ -64,6 +64,7 @@ void obt_prop_startup(void)
     CREATE(WM_CLIENT_LEADER);
     CREATE(WM_TRANSIENT_FOR);
     CREATE_(MOTIF_WM_HINTS);
+    CREATE_(MOTIF_WM_INFO);
 
     CREATE(SM_CLIENT_ID);
 
@@ -189,6 +190,12 @@ void obt_prop_startup(void)
     CREATE_(OB_WM_ACTION_UNDECORATE);
     CREATE_(OB_WM_STATE_UNDECORATED);
     CREATE_(OB_CONTROL);
+    CREATE_(OB_VERSION);
+    CREATE_(OB_APP_ROLE);
+    CREATE_(OB_APP_TITLE);
+    CREATE_(OB_APP_NAME);
+    CREATE_(OB_APP_CLASS);
+    CREATE_(OB_APP_TYPE);
 }
 
 Atom obt_prop_atom(ObtPropAtom a)
@@ -419,7 +426,8 @@ void obt_prop_set_string_locale(Window win, Atom prop, const gchar *val)
     obt_prop_set_strings_locale(win, prop, s);
 }
 
-void obt_prop_set_strings_locale(Window win, Atom prop, const gchar **strs)
+void obt_prop_set_strings_locale(Window win, Atom prop,
+                                 const gchar *const *strs)
 {
     gint i, count;
     gchar **lstrs;
@@ -449,10 +457,11 @@ void obt_prop_set_string_utf8(Window win, Atom prop, const gchar *val)
                     PropModeReplace, (const guchar*)val, strlen(val));
 }
 
-void obt_prop_set_strings_utf8(Window win, Atom prop, const gchar **strs)
+void obt_prop_set_strings_utf8(Window win, Atom prop,
+                               const gchar *const *strs)
 {
     GString *str;
-    gchar const **s;
+    gchar const *const *s;
 
     str = g_string_sized_new(0);
     for (s = strs; *s; ++s) {
This page took 0.022773 seconds and 4 git commands to generate.