Skip to content

Commit

Permalink
fix: can not reisze window on openbox
Browse files Browse the repository at this point in the history
Change-Id: If393071adbf6acbaa3d4be9b1f9850109d93dd78
  • Loading branch information
zccrs committed Feb 5, 2018
1 parent 2439d67 commit 218df1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformplugin/dframewindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ void DFrameWindow::updateMask()
if (DWMSupport::instance()->hasComposite())
mouse_margins = canResize() ? MOUSE_MARGINS : 0;
else
mouse_margins = m_borderWidth;
mouse_margins = qRound(m_borderWidth * devicePixelRatio());

const QPainterPath &path = m_clipPath;

Expand Down

0 comments on commit 218df1e

Please sign in to comment.