| Summary: | race condition when using NETRootInfo::moveResizeRequest | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Charles Samuels <charles> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Charles Samuels
2005-03-14 10:39:33 UTC
SVN commit 494899 by lunakl:
Implement _NET_WM_MOVERESIZECANCEL.
BUG: 101468
M +6 -0 kdebase/kwin/events.cpp
M +5 -1 kdelibs/kdecore/netwm_def.h
--- branches/KDE/3.5/kdebase/kwin/events.cpp #494898:494899
@@ -1472,6 +1472,12 @@
{
if( direction == NET::Move )
performMouseCommand( Options::MouseMove, QPoint( x_root, y_root ));
+ else if( moveResizeMode && direction == NET::MoveResizeCancel )
+ {
+ finishMoveResize( true );
+ buttonDown = FALSE;
+ setCursor( mode );
+ }
else if( direction >= NET::TopLeft && direction <= NET::Left )
{
static const Position convert[] =
--- branches/KDE/3.5/kdelibs/kdecore/netwm_def.h #494898:494899
@@ -415,7 +415,11 @@
/**
@since 3.2
**/
- KeyboardMove = 10 // move via keyboard
+ KeyboardMove = 10, // move via keyboard
+ /**
+ @since 3.5.1
+ **/
+ MoveResizeCancel = 11 // to ask the WM to stop moving a window
};
/**
|