Example #1
0
/** Process a selection clear event. */
char HandleSelectionClear(const XSelectionClearEvent *event)
{
   if(event->selection == managerSelection) {
      /* Lost WM selection. */
      shouldExit = 1;
      return 1;
   }
   return HandleDockSelectionClear(event);
}
Example #2
0
/** Process a selection clear event. */
int HandleSelectionClear(const XSelectionClearEvent *event) {

   return HandleDockSelectionClear(event);

}