5

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.

4

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.

  • 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
2

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

2

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 ;))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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