[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    [Bug 36065] dragging from a window should not raise it
From:       Tim Hutt <tdh29 () cam ! ac ! uk>
Date:       2006-08-21 21:47:03
Message-ID: 20060821214703.17097.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=36065         




------- Additional Comments From tdh29 cam ac uk  2006-08-21 23:47 -------
Ok I investigated how windows does this, and its algorithm is this:

On mouse-down, if the clicked item can be dragged, do nothing, otherwise raise and \
pass click. If it is possible for the item to be dragged, wait for mouse-up or \
mouse-move to decide what to do.

The trouble with implementing this on linux, is that there is no easy way (afaics) to \
tell whether the item under the mouse can be dragged.

I looked in Qt a while ago, and QWidget's don't seem to make that information \
available - to support d&d you just modify the onMouseMove event (or something). \
_______________________________________________ Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic