all repos — fluxbox @ c98ab8e5b56e2fdb1b02bc6635833ae06363232a

custom fork of the fluxbox windowmanager

resize/move window even without decor
fluxgen fluxgen
commit

c98ab8e5b56e2fdb1b02bc6635833ae06363232a

parent

1d7b7e18766b5dbe3ae70216099aeb3232542c08

1 files changed, 6 insertions(+), 5 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.58 2002/06/02 23:42:10 fluxgen Exp $ +// $Id: Window.cc,v 1.59 2002/06/04 09:50:58 fluxgen Exp $ #include "Window.hh"

@@ -3387,8 +3387,9 @@ case DECOR_NONE:

decorations.titlebar = decorations.border = decorations.handle = decorations.iconify = decorations.maximize = decorations.menu = decorations.tab = false; //tab is also a decor - functions.resize = functions.move = functions.iconify = - functions.maximize = false; + functions.iconify = functions.maximize = false; + functions.move = true; // We need to move even without decor + functions.resize = true; // We need to resize even without decor break; default:

@@ -3431,10 +3432,10 @@ //don't toggle decor if the window is shaded

if (isShaded()) return; - if (!decor) { + if (!decor) { //remove decorations setDecoration(DECOR_NONE); decor = true; - } else { + } else { //revert back to old decoration setDecoration(old_decoration); decor = false; }