-
Committer:
Tarmac
-
Author(s):
Daniel d'Andrada
-
Date:
2012-09-04 07:14:00 UTC
-
mfrom:
(3332.2.1 lp1045191)
-
Revision ID:
tarmac-20120904071400-w3yknv73dxp34w6x
resize plugin: don't crash if resize wasn't initiated externally
(LP: #1045191)
The rectangle grabWindowWorkArea is not created if the resize is initiated by the initiate_button action (by default, alt + middle mouse button) instead of by dragging the window border.
In this situation ResizeLogic::enableOrDisableVerticalMaximization() calling member functions of a null grabWindowWorkArea.. Fixes: https://bugs.launchpad.net/bugs/1045191. Approved by Daniel van Vugt, Sam Spilsbury.