X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fclient.cc;h=2c3d3ad37cc7614d62ae7f29078a141e33b190f0;hb=997f94cf8657201ea9d1f2497e4ec4f56342e22f;hp=533a9c321055f03b5affbd44fec6d4a9de72e5c9;hpb=3e21214a1d2f7e7c4f35ccc9f8f033d4d263e41a;p=chaz%2Fopenbox diff --git a/src/client.cc b/src/client.cc index 533a9c32..2c3d3ad3 100644 --- a/src/client.cc +++ b/src/client.cc @@ -133,7 +133,7 @@ void Client::getDesktop() otk::Property::atoms.cardinal, (long unsigned*)&_desktop)) { #ifdef DEBUG - printf("DEBUG: Window requested desktop: %ld\n", _desktop); +// printf("Window requested desktop: %ld\n", _desktop); #endif } } @@ -1181,7 +1181,6 @@ void Client::applyStartupState() // these are in a carefully crafted order.. if (_iconic) { - printf("MAP ICONIC\n"); _iconic = false; setDesktop(ICONIC_DESKTOP); } @@ -1209,8 +1208,8 @@ void Client::applyStartupState() void Client::fireUrgent() { - // call the python UrgentNotify callbacks - EventData data(_screen, this, EventUrgentNotify, 0); + // call the python UrgentWindow callbacks + EventData data(_screen, this, EventAction::UrgentWindow, 0); openbox->bindings()->fireEvent(&data); } @@ -1435,7 +1434,7 @@ void Client::unmapHandler(const XUnmapEvent &e) { if (ignore_unmaps) { #ifdef DEBUG - printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event); +// printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event); #endif // DEBUG ignore_unmaps--; return;