From: Dana Jansens Date: Mon, 28 Jul 2003 16:10:06 +0000 (+0000) Subject: use the macro X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=09f178aa5407024c71f1581762898c437a3f7db1;p=chaz%2Fopenbox use the macro --- diff --git a/openbox/client.c b/openbox/client.c index 697b6d8a..a6830193 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -425,8 +425,8 @@ void client_unmanage(ObClient *self) if (ob_state() != OB_STATE_EXITING) { /* these values should not be persisted across a window unmapping/mapping */ - prop_erase(self->window, prop_atoms.net_wm_desktop); - prop_erase(self->window, prop_atoms.net_wm_state); + PROP_ERASE(self->window, net_wm_desktop); + PROP_ERASE(self->window, net_wm_state); } else { /* if we're left in an iconic state, the client wont be mapped. this is bad, since we will no longer be managing the window on restart */