After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638896 - XDND: Don't reset switch timeout when pointer is over the same window
XDND: Don't reset switch timeout when pointer is over the same window
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Florian Müllner
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-01-07 10:16 UTC by drago01
Modified: 2011-01-20 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
XDND: Don't reset switch timeout when pointer is over the same window (3.02 KB, patch)
2011-01-07 10:17 UTC, drago01
committed Details | Review

Description drago01 2011-01-07 10:16:51 UTC
See patch.
Comment 1 drago01 2011-01-07 10:17:17 UTC
Created attachment 177732 [details] [review]
XDND: Don't reset switch timeout when pointer is over the same window

Currently we reset the timeout on every mouse movement which means
the user has to keep the mouse at the exact same position for 1.25
seconds.

Be more tolerant and allow the user to move the mouse over the
window without reseting the timeout, which should make activating
windows easier.
Comment 2 Florian Müllner 2011-01-19 23:11:34 UTC
Review of attachment 177732 [details] [review]:

Sure.

::: js/ui/overview.js
@@ +230,3 @@
+        let targetIsWindow = dragEvent.targetActor &&
+                                dragEvent.targetActor._delegate &&
+                                dragEvent.targetActor._delegate.metaWindow;

Should be aligned with the first line
Comment 3 drago01 2011-01-20 08:58:42 UTC
Attachment 177732 [details] pushed as ee6a852 - XDND: Don't reset switch timeout when pointer is over the same window