summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-28 16:10:06 +0000
committerDana Jansens <danakj@orodu.net>2003-07-28 16:10:06 +0000
commit09f178aa5407024c71f1581762898c437a3f7db1 (patch)
tree7ce17d6f2f0cb0234ba7253a9c7ea6ab6046b796 /openbox
parenteb1fb5580e6a4c3620dfefdfd5704f9927f82ab1 (diff)
use the macro
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
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 */