X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=6fd39be48f5172745c37d429af9711f3c0e68853;hb=cd59d61775ade249974eae9bd17d58b95967253d;hp=ae3297d9538441c5b19de9ff22bdf7b471c76cd6;hpb=d8167c261dfc3bec344ebf8c492b98c76a0f34e1;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index ae3297d..6fd39be 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -8,6 +8,7 @@ * Copyright (c) 2011-2012 Reginald Kennedy * Copyright (c) 2011-2012 Lawrence Teo * Copyright (c) 2011-2012 Tiago Cunha + * Copyright (c) 2012 David Hill * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -828,9 +829,8 @@ teardown_ewmh(void) xcb_destroy_window(conn, id); xcb_delete_property(conn, screens[i].root, sup_check); xcb_delete_property(conn, screens[i].root, sup_list); - - free(pr); } + free(pr); } } @@ -6624,7 +6624,7 @@ manage_window(xcb_window_t id) win->ch.class_name = tmpch.class_name; win->ch.instance_name = tmpch.instance_name; - xcb_get_wm_class_reply_wipe(&tmpch); + xcb_icccm_get_wm_class_reply_wipe(&tmpch); DNPRINTF(SWM_D_CLASS, "manage_window: class: %s, name: %s\n", win->ch.class_name, win->ch.instance_name);