1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-10 02:25:46 +01:00

- Fixed all // comments

- Final cleanups
This commit is contained in:
dan
2004-10-23 03:30:03 +00:00
parent b00076b32a
commit 193a63511d
18 changed files with 51 additions and 82 deletions

View File

@@ -732,8 +732,6 @@ void WMSetViewDragDestinationProcs(WMView *view, WMDragDestinationProcs *procs);
/* ....................................................................... */
//Bool WMHasAntialiasingSupport(WMScreen *scrPtr);
Bool WMIsAntialiasingEnabled(WMScreen *scrPtr);
/* ....................................................................... */

View File

@@ -130,31 +130,6 @@ struct W_DraggingInfo {
W_DragDestinationInfo* destInfo; /* infos needed by destination */
} W_DraggingInfo;
/* original
struct W_DraggingInfo {
Window destinationWindow;
Window sourceWindow;
WMPoint location;
unsigned sourceOperation;
WMPixmap *image;
WMPoint imageLocation;
char **types;
Time timestamp;
int protocolVersion;
// should be treated as internal data
WMView *sourceView;
WMView *destView;
WMSize mouseOffset;
unsigned finished:1;
};
*/
typedef struct W_Screen {
Display *display;

View File

@@ -176,8 +176,8 @@ sendTimeout(void *cdata)
clearOutputQueue(cPtr);
cPtr->state = WCTimedOut;
cPtr->timeoutState = WCTWhileSending;
// should we close it no matter what (after calling the didTimeout
// delegate)? -Dan
/* // should we close it no matter what (after calling the didTimeout
// delegate)? -Dan */
if (cPtr->delegate && cPtr->delegate->didTimeout) {
(*cPtr->delegate->didTimeout)(cPtr->delegate, cPtr);
} else {

View File

@@ -425,8 +425,9 @@ sendEnterMessage(WMDraggingInfo *info)
}
/*
// this functon doesn't return something in all cases.
// control reaches end of non-void function. fix this -Dan
// control reaches end of non-void function. fix this -Dan */
static Bool
sendPositionMessage(WMDraggingInfo *info, WMPoint *mousePos)
{

View File

@@ -35,7 +35,6 @@ WMInitializeApplication(char *applicationName, int *argc, char **argv)
assert(argv!=NULL);
assert(applicationName!=NULL);
/* // TODO: check if to move inside #ifdef I18N */
setlocale(LC_ALL, "");
#ifdef I18N

View File

@@ -374,7 +374,7 @@ WMSetFontPanelFont(WMFontPanel *panel, char *fontName)
} else {
/* maybe its proper xlfd and we can convert it to an FcPattern */
pattern = XftXlfdParse(fontName, False, False);
//FcPatternPrint(pattern);
/*//FcPatternPrint(pattern);*/
}
if (!pattern)

View File

@@ -4019,7 +4019,7 @@ WMGetTextSelectionFont(WMText *tPtr)
void
WMSetTextSelectionUnderlined(WMText *tPtr, int underlined)
{
// check this
/* // check this */
if (underlined!=0 && underlined!=1)
return;