diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 3042812..0d8b9e5 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1842,7 +1842,7 @@ void FluxboxWindow::stick() { | |||
1842 | stuck = !stuck; | 1842 | stuck = !stuck; |
1843 | 1843 | ||
1844 | if (m_initialized) { | 1844 | if (m_initialized) { |
1845 | setState(m_current_state, false); | 1845 | stateSig().notify(); |
1846 | // notify since some things consider "stuck" to be a pseudo-workspace | 1846 | // notify since some things consider "stuck" to be a pseudo-workspace |
1847 | m_workspacesig.notify(); | 1847 | m_workspacesig.notify(); |
1848 | } | 1848 | } |
@@ -3233,6 +3233,9 @@ void FluxboxWindow::startMoving(int x, int y) { | |||
3233 | if (s_num_grabs > 0) | 3233 | if (s_num_grabs > 0) |
3234 | return; | 3234 | return; |
3235 | 3235 | ||
3236 | if (isMaximized() && screen().getMaxDisableMove()) | ||
3237 | return; | ||
3238 | |||
3236 | // save first event point | 3239 | // save first event point |
3237 | m_last_resize_x = x; | 3240 | m_last_resize_x = x; |
3238 | m_last_resize_y = y; | 3241 | m_last_resize_y = y; |
@@ -3503,6 +3506,9 @@ void FluxboxWindow::startResizing(int x, int y, ResizeDirection dir) { | |||
3503 | if (s_num_grabs > 0 || isShaded() || isIconic() ) | 3506 | if (s_num_grabs > 0 || isShaded() || isIconic() ) |
3504 | return; | 3507 | return; |
3505 | 3508 | ||
3509 | if (isMaximized() && screen().getMaxDisableResize()) | ||
3510 | return; | ||
3511 | |||
3506 | m_resize_corner = dir; | 3512 | m_resize_corner = dir; |
3507 | 3513 | ||
3508 | resizing = true; | 3514 | resizing = true; |