[kwin] [Bug 372876] Dock widgets cannot be moved

2017-04-20 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=372876

Martin Gräßlin  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kwi
   ||n/9a13743c4988fbf653e20df43
   ||e919e836766d3c8

--- Comment #1 from Martin Gräßlin  ---
Git commit 9a13743c4988fbf653e20df43e919e836766d3c8 by Martin Gräßlin.
Committed on 20/04/2017 at 15:02.
Pushed by graesslin into branch 'master'.

Don't update the focused pointer Surface if a button is pressed

Summary:
During pointer motion we already had the condition that an update of
focused pointer surface can only happen when no button is pressed. But
there are more conditions where we try to update the focused pointer even
if a button is pressed. E.g. if the stacking order changes.

This happens when trying to move one of Qt's dock widgets:
 1. Press inside a dock widget
 2. Qt opens another window, which is underneath the cursor
 3. KWin sends pointer leave to parent window
 4. dock widget movement breaks

This change ensures that also this sequence works as expected and the
pointer gets only updated when there are no buttons pressed, no matter
from where we go into the update code path.

Test Plan: Dock widgets in Dolphin can be moved now.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5461

M  +58   -0autotests/integration/pointer_input.cpp
M  +1-4input.cpp
M  +11   -0pointer_input.cpp

https://commits.kde.org/kwin/9a13743c4988fbf653e20df43e919e836766d3c8

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 372876] Dock widgets cannot be moved

2017-04-15 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=372876

Martin Gräßlin  changed:

   What|Removed |Added

URL||https://phabricator.kde.org
   ||/D5461
  Flags||ReviewRequest+

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 372876] Dock widgets cannot be moved

2017-04-15 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=372876

Martin Gräßlin  changed:

   What|Removed |Added

  Component|wayland-generic |input

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 372876] Dock widgets cannot be moved

2016-11-24 Thread Fabian Vogt
https://bugs.kde.org/show_bug.cgi?id=372876

Fabian Vogt  changed:

   What|Removed |Added

 CC||fab...@ritter-vogt.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 372876] Dock widgets cannot be moved

2016-11-24 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=372876

Martin Gräßlin  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.