1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

Remove DEBUG statements, #if 0 etc

...and some other cleanups.
This commit is contained in:
Carlos R. Mafra
2010-03-17 17:44:14 +01:00
parent cef4fbb422
commit 5178465bb6
21 changed files with 34 additions and 576 deletions

View File

@@ -453,13 +453,6 @@ static void iconDblClick(WObjDescriptor * desc, XEvent * event)
assert(aicon->icon->owner != NULL);
wapp = wApplicationOf(aicon->icon->owner->main_window);
#ifdef DEBUG0
if (!wapp) {
wwarning("could not find application descriptor for app icon!!");
return;
}
#endif
unhideHere = (event->xbutton.state & ShiftMask);
/* go to the last workspace that the user worked on the app */
@@ -526,9 +519,7 @@ void appIconMouseDown(WObjDescriptor * desc, XEvent * event)
(*desc->handle_mousedown) (desc, event);
return;
}
#ifdef DEBUG
puts("Moving icon");
#endif
if (event->xbutton.state & MOD_MASK)
wLowerFrame(icon->core);
else
@@ -713,8 +704,4 @@ void appIconMouseDown(WObjDescriptor * desc, XEvent * event)
break;
}
}
#ifdef DEBUG
puts("End icon move");
#endif
}