diff options
author | MC <mc@hack.org> | 2010-07-01 16:45:55 +0200 |
---|---|---|
committer | MC <mc@brain.hack.org> | 2010-07-01 16:45:55 +0200 |
commit | 9948cc5e4ccef7d668f53892e452a11d99ef1087 (patch) | |
tree | 4ce00e9e9e999204efb1b458b68e2b930b1e50fa /mcwm.c | |
parent | 80071fa886792c67dd3760e6a69265d45d9372d0 (diff) | |
download | mcwm-9948cc5e4ccef7d668f53892e452a11d99ef1087.zip |
Ooops! Deleted the wrong client(s)! Moved delfromworkspace() *into*20100701-3
the comparison block.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -442,16 +442,16 @@ void forgetwin(xcb_window_t win) { client = item->data; - /* Delete window from workspace list. */ - delfromworkspace(client, curws); - /* Now forget about it completely and free allocated data. */ PDEBUG("Win %d == client ID %d\n", win, client->id); if (win == client->id) { /* Found it. */ PDEBUG("Found it. Forgetting...\n"); - + + /* Delete window from workspace list. */ + delfromworkspace(client, curws); + free(item->data); delitem(&winlist, item); |