]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
new/better/cleaner scripting interface
[chaz/openbox] / src / client.cc
index 533a9c321055f03b5affbd44fec6d4a9de72e5c9..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);
   }
@@ -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;
This page took 0.022605 seconds and 4 git commands to generate.