Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment does drag-and-drop confuse you, too? (Score 2, Insightful) 1125

Windows applications support drag-and-drop and copy-and-paste simultaneously. Does that confuse you, too? Does it bother you that you can't drag-and-drop something while also deleting the destination?

Well, X11's selection mechanisms doesn't, as you put it, perform an "automatic copy", it is actually separate from the copy-and-paste system, just like drag-and-drop is separate from copy-and-paste on Windows. X11's selection mechanism is a drag-and-drop operation, only that you can let go of the mouse button between selecting what you are going to drag and dropping it in the destination. It's actually significantly more convenient than drag-and-drop and significantly easier to handle. To make drag-and-drop work as well as X11's selection mechanism, you need to add weird hacks like "spring loaded containers".

Well-behaved X11 applications should implement both X11's selection mechanism and copy-and-paste. To convert between selections and clipboards, you can use any working X11 applications that can hold the datatype you are interested in converting, like an X11 text editor or the xclipboard application.

Slashdot Top Deals

To iterate is human, to recurse, divine. -- Robert Heller