- * TRUE if m_targetRequested is supported */
-
- gtk_selection_convert( m_clipboardWidget,
- g_clipboardAtom,
+ TRUE if m_targetRequested is supported.
+ alsom we have to wait for the "answer" from the
+ clipboard owner which is an asynchronous process.
+ therefore we set m_waiting = TRUE here and wait
+ until the callback "targets_selection_received"
+ sets it to FALSE */
+
+ m_waiting = TRUE;
+
+ gtk_selection_convert( m_targetsWidget,
+ m_usePrimary?GDK_SELECTION_PRIMARY:g_clipboardAtom,