[openbox] Move events not propagated instantly

Mikael Magnusson mikachu at gmail.com
Thu Feb 10 16:04:12 EST 2011


On 10 February 2011 21:56, Andreas Fink <andreas.fink85 at googlemail.com> wrote:
> Hello,
>
> I wanted to write some code with Qt and have a question if qt or openbox has a problem. Here my problem:
> I want to react on toplevel window movement (I want to move two toplevel windows synchroniously). When I move the window around (clicking on the window title and drag it around) I get only one single move event, when I release the mouse.
> Executing the very same program in KDE (without recompiling) gives me instant move events, i.e. my application gets informed all the time during the dragging.
>
> Is this by design in openbox, or a bug, or is it even a problem with qt?

It is by design, we consider the window to only be actually moved when
you release the button. Before that it's none of the app's business
what the user is doing, the window seemingly moving is just feedback
to the user where it would be if you let go of the mouse. If you press
Escape, the whole operation is aborted and the window is not moved.

-- 
Mikael Magnusson


More information about the openbox mailing list