X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fprop.c;h=dca0434437badd95459cca7784d79a136fd1bd71;hb=18b92777aed037c2242928ec585452ef253667cb;hp=186cc133c9c6af2b056cf6fbf78532d9f0fa9719;hpb=4cd886e5188549ab48a11b70cb40b65efe916b6c;p=chaz%2Fopenbox diff --git a/openbox/prop.c b/openbox/prop.c index 186cc133..dca04344 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -51,6 +51,8 @@ void prop_startup() CREATE(net_wm_moveresize, "_NET_WM_MOVERESIZE"); CREATE(net_moveresize_window, "_NET_MOVERESIZE_WINDOW"); + CREATE(net_startup_id, "_NET_STARTUP_ID"); + CREATE(net_wm_name, "_NET_WM_NAME"); CREATE(net_wm_visible_name, "_NET_WM_VISIBLE_NAME"); CREATE(net_wm_icon_name, "_NET_WM_ICON_NAME"); @@ -392,6 +394,7 @@ void prop_set_strings_utf8(Window win, Atom prop, char **strs) } XChangeProperty(ob_display, win, prop, prop_atoms.utf8, 8, PropModeReplace, (guchar*)str->str, str->len); + g_string_free(str, TRUE); } void prop_erase(Window win, Atom prop)