* Don't allow dragging modifier keys around until we actually support
changing them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29775 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -188,7 +188,8 @@ KeyboardLayoutView::MouseMoved(BPoint point, uint32 transit,
|
|||||||
|| fabs(point.y - fClickPoint.y) > 4)) {
|
|| fabs(point.y - fClickPoint.y) > 4)) {
|
||||||
// start dragging
|
// start dragging
|
||||||
Key* key = _KeyAt(fClickPoint);
|
Key* key = _KeyAt(fClickPoint);
|
||||||
if (key == NULL)
|
// TODO: remove once we support moving modifier keys around
|
||||||
|
if (key == NULL || fKeymap->IsModifierKey(key->code))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BRect frame = _FrameFor(key);
|
BRect frame = _FrameFor(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user