diff options
author | akir <akir> | 2004-10-17 21:40:15 (GMT) |
---|---|---|
committer | akir <akir> | 2004-10-17 21:40:15 (GMT) |
commit | 65ce32a28e59140f7ad9e599518fabc14712010d (patch) | |
tree | 6008e18aec48af8ec28f786a6897e46881c29b7f /src | |
parent | f74375c75dc49c595bae29a7e37de2d8ad4715dc (diff) | |
download | fluxbox_paul-65ce32a28e59140f7ad9e599518fabc14712010d.zip fluxbox_paul-65ce32a28e59140f7ad9e599518fabc14712010d.tar.bz2 |
made iconic and shaded windows not resizable
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc index e95629d..26fd542 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.301 2004/10/04 15:37:58 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.302 2004/10/17 21:40:15 akir Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -3097,9 +3097,9 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) { | |||
3097 | 3097 | ||
3098 | 3098 | ||
3099 | void FluxboxWindow::startResizing(Window win, int x, int y) { | 3099 | void FluxboxWindow::startResizing(Window win, int x, int y) { |
3100 | if (s_num_grabs > 0) | 3100 | if (s_num_grabs > 0 || isShaded() || isIconic() ) |
3101 | return; | 3101 | return; |
3102 | 3102 | ||
3103 | resizing = true; | 3103 | resizing = true; |
3104 | 3104 | ||
3105 | const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : | 3105 | const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : |