Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Do any any minimal WMs, like scrotwm or xmonad (OR any others), support drag and drop between windows out of the box? If so which? If not, is there a way to enable such functionality?

A classic example would be to have a file manager in one window, from which you drag a file into an open application in another window to open it, etc. etc.

Thanks.

share|improve this question
add comment

3 Answers 3

up vote 4 down vote accepted

In X11, drag and drop is something that the application must support, it has nothing to do with the window manager. For example: you cannot drag'n'drop anything in a xcalc window, even with the Compiz window manager.

The X11 drag and drop protocol is called XDND: see http://www.newplanetsoftware.com/xdnd/ for more information.

share|improve this answer
    
Wait... X11 apps must support drag and drop, yet xcalc cannot do it? Is xcalc an exception or the rule???? –  hpy Dec 12 '10 at 3:23
    
It's coded into the app from what I can tell. It's a really painful process to support drag and drop, as I tried it with my QT application. –  Blender Dec 12 '10 at 4:48
add comment

Awesome supports drag and drop between windows. There is a catch: you can't change tags¹ while dragging, but you can show two tags at the same time (with all their windows) and then drag and drop.

¹something similar to a workspace, but more flexible

share|improve this answer
add comment

Im using dwm (5.8.2 atm) and when i try to drag n drop anything from program A to program B, it works. You cant change workspace while draging files so you need to use the same workspace.

I just tried so it actually works ;))

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.