]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
new/better/cleaner scripting interface
[chaz/openbox] / src / client.cc
index 2372a26d8de5ea29a16d893f10ffc7e90ffac790..2c3d3ad37cc7614d62ae7f29078a141e33b190f0 100644 (file)
@@ -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);
   }
@@ -1210,7 +1209,7 @@ void Client::applyStartupState()
 void Client::fireUrgent()
 {
   // call the python UrgentWindow callbacks
-  EventData data(_screen, this, EventUrgentWindow, 0);
+  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;
This page took 0.021728 seconds and 4 git commands to generate.