all repos — fluxbox @ 65ce32a28e59140f7ad9e599518fabc14712010d

custom fork of the fluxbox windowmanager

made iconic and shaded windows not resizable
akir akir
commit

65ce32a28e59140f7ad9e599518fabc14712010d

parent

f74375c75dc49c595bae29a7e37de2d8ad4715dc

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/Window.ccsrc/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() :