made iconic and shaded windows not resizable
akir akir
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.301 2004/10/04 15:37:58 rathnor Exp $ +// $Id: Window.cc,v 1.302 2004/10/17 21:40:15 akir Exp $ #include "Window.hh"@@ -3097,9 +3097,9 @@ }
void FluxboxWindow::startResizing(Window win, int x, int y) { - if (s_num_grabs > 0) + if (s_num_grabs > 0 || isShaded() || isIconic() ) return; - + resizing = true; const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() :