[openbox] Move events not propagated instantly

Andreas Fink andreas.fink85 at googlemail.com
Thu Feb 10 16:05:58 EST 2011


On Thu, 10 Feb 2011 22:04:12 +0100
Mikael Magnusson <mikachu at gmail.com> wrote:

> 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.
> 

So there is no way, keeping two windows in sync when moving?


More information about the openbox mailing list