fix compiling bug
This commit is contained in:
parent
98f05a5c96
commit
359218b6ef
1 changed files with 4 additions and 4 deletions
|
@ -520,8 +520,8 @@ void Screen::manageWindow(Window window)
|
||||||
openbox->bindings()->fireEvent(&data);
|
openbox->bindings()->fireEvent(&data);
|
||||||
}
|
}
|
||||||
|
|
||||||
EventData data(_number, client, EventAction::DisplayingWindow, 0);
|
EventData ddata(_number, client, EventAction::DisplayingWindow, 0);
|
||||||
openbox->bindings()->fireEvent(&data);
|
openbox->bindings()->fireEvent(&ddata);
|
||||||
|
|
||||||
// if on the current desktop.. (or all desktops)
|
// if on the current desktop.. (or all desktops)
|
||||||
if (client->desktop() == _desktop ||
|
if (client->desktop() == _desktop ||
|
||||||
|
@ -546,8 +546,8 @@ void Screen::manageWindow(Window window)
|
||||||
|
|
||||||
openbox->bindings()->grabButtons(true, client);
|
openbox->bindings()->grabButtons(true, client);
|
||||||
|
|
||||||
EventData data(_number, client, EventAction::NewWindow, 0);
|
EventData ndata(_number, client, EventAction::NewWindow, 0);
|
||||||
openbox->bindings()->fireEvent(&data);
|
openbox->bindings()->fireEvent(&ndata);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("Managed window 0x%lx frame 0x%lx\n",
|
printf("Managed window 0x%lx frame 0x%lx\n",
|
||||||
|
|
Loading…
Reference in a new issue