X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fprop.c;h=40ae6ef299b5d6af4272fe0b85adf7e40c774cbf;hb=c6b22725640c2c1ab1023996807e750a11bd72f8;hp=36e520171d061a1558482317e34587fa312e4e79;hpb=0ef82a1bda21d37f931a2fb0062c6274e360108a;p=chaz%2Fopenbox diff --git a/openbox/prop.c b/openbox/prop.c index 36e52017..40ae6ef2 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -37,7 +37,7 @@ void prop_startup() CREATE(utf8, "UTF8_STRING"); CREATE(manager, "MANAGER"); - + CREATE(wm_colormap_windows, "WM_COLORMAP_WINDOWS"); CREATE(wm_protocols, "WM_PROTOCOLS"); CREATE(wm_state, "WM_STATE"); @@ -94,7 +94,7 @@ void prop_startup() /* CREATE(net_wm_pid, "_NET_WM_PID"); */ CREATE(net_wm_allowed_actions, "_NET_WM_ALLOWED_ACTIONS"); CREATE(net_wm_user_time, "_NET_WM_USER_TIME"); - CREATE(net_wm_user_time_window, "_NET_WM_USER_TIME_WINDOW"); +/* CREATE(net_wm_user_time_window, "_NET_WM_USER_TIME_WINDOW"); */ CREATE(kde_net_wm_frame_strut, "_KDE_NET_WM_FRAME_STRUT"); CREATE(net_frame_extents, "_NET_FRAME_EXTENTS"); @@ -150,7 +150,7 @@ void prop_startup() CREATE(net_wm_state_above, "_NET_WM_STATE_ABOVE"); CREATE(net_wm_state_below, "_NET_WM_STATE_BELOW"); CREATE(net_wm_state_demands_attention, "_NET_WM_STATE_DEMANDS_ATTENTION"); - + prop_atoms.net_wm_state_add = 1; prop_atoms.net_wm_state_remove = 0; prop_atoms.net_wm_state_toggle = 2; @@ -171,7 +171,8 @@ void prop_startup() */ CREATE(openbox_pid, "_OPENBOX_PID"); - CREATE(ob_config, "_OB_CONFIG"); + CREATE(ob_theme, "_OB_THEME"); + CREATE(ob_wm_action_undecorate, "_OB_WM_ACTION_UNDECORATE"); CREATE(ob_wm_state_undecorated, "_OB_WM_STATE_UNDECORATED"); CREATE(ob_control, "_OB_CONTROL"); } @@ -361,7 +362,7 @@ gboolean prop_get_string_utf8(Window win, Atom prop, gchar **ret) gchar *raw; gchar *str; guint num; - + if (get_all(win, prop, prop_atoms.utf8, 8, (guchar**)&raw, &num)) { str = g_strndup(raw, num); /* grab the first string from the list */ g_free(raw);