openbox->bindings()->fireEvent(&data);
}
- EventData data(_number, client, EventAction::DisplayingWindow, 0);
- openbox->bindings()->fireEvent(&data);
+ EventData ddata(_number, client, EventAction::DisplayingWindow, 0);
+ openbox->bindings()->fireEvent(&ddata);
// if on the current desktop.. (or all desktops)
if (client->desktop() == _desktop ||
openbox->bindings()->grabButtons(true, client);
- EventData data(_number, client, EventAction::NewWindow, 0);
- openbox->bindings()->fireEvent(&data);
+ EventData ndata(_number, client, EventAction::NewWindow, 0);
+ openbox->bindings()->fireEvent(&ndata);
#ifdef DEBUG
printf("Managed window 0x%lx frame 0x%lx\n",
// remove from the screen's list
clients.remove(client);
+ // once the client is out of the list, update our strut to remove it's
+ // influence
+ updateStrut();
+
// unfocus the client (calls the focus callbacks)
client->unfocus();