1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-28 03:33:31 +02:00

- fixed a frame size in WPrefs menu editor

- removed // comments
- commented out printfs in unfinished selection code
This commit is contained in:
dan
2002-07-01 23:52:22 +00:00
parent 579eb01c6c
commit 048b43aea4
6 changed files with 22 additions and 18 deletions
+3 -1
View File
@@ -303,8 +303,10 @@ selectionNotification(void *observerData, WMNotification *notification)
WMView *newOwnerView = (WMView*)WMGetNotificationClientData(notification);
if (observerView != newOwnerView) {
/*
//if (tPtr->flags.ownsSelection)
// WMDeleteSelectionHandler(observerView, XA_PRIMARY, CurrentTime);
*/
lostSelection(observerView, XA_PRIMARY, NULL);
}
}
@@ -1598,7 +1600,7 @@ destroyTextField(TextField *tPtr)
#endif
WMReleaseFont(tPtr->font);
// use lostSelection() instead of WMDeleteSelectionHandler aici?
/*// use lostSelection() instead of WMDeleteSelectionHandler here?*/
WMDeleteSelectionHandler(tPtr->view, XA_PRIMARY, CurrentTime);
WMRemoveNotificationObserver(tPtr);