use maximize options for fullscreen as well

This commit is contained in:
Mathias Gumz 2010-05-05 08:42:28 +02:00
parent e05230ea4b
commit fbcb0cd7e1

View file

@ -2799,7 +2799,7 @@ void FluxboxWindow::startMoving(int x, int y) {
return; return;
} }
if (isMaximized() && screen().getMaxDisableMove()) if ((isMaximized() || isFullscreen()) && screen().getMaxDisableMove())
return; return;
// save first event point // save first event point
@ -3073,7 +3073,7 @@ void FluxboxWindow::startResizing(int x, int y, ReferenceCorner dir) {
if (s_num_grabs > 0 || isShaded() || isIconic() ) if (s_num_grabs > 0 || isShaded() || isIconic() )
return; return;
if (isMaximized() && screen().getMaxDisableResize()) if ((isMaximized() || isFullscreen()) && screen().getMaxDisableResize())
return; return;
m_resize_corner = dir; m_resize_corner = dir;