Skip to content

Commit

Permalink
[FancyZones] Fixed shift behavior (#4653)
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhenii44-zz authored and enricogior committed Jul 2, 2020
1 parent 32d873f commit 25f0ba1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/modules/fancyzones/lib/WindowMoveHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,7 @@ void WindowMoveHandlerPrivate::MoveSizeStart(HWND window, HMONITOR monitor, POIN
m_mouseHook->enable();
}

if (m_settings->GetSettings()->shiftDrag)
{
m_shiftHook->enable();
}
m_shiftHook->enable();

// This updates m_dragEnabled depending on if the shift key is being held down.
UpdateDragState(window);
Expand Down

0 comments on commit 25f0ba1

Please sign in to comment.