mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
- fixed a frame size in WPrefs menu editor
- removed // comments - commented out printfs in unfinished selection code
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user