all repos — fluxbox @ 6a5fff9ae18862a93dbf80b9b6c6c731ce334893

custom fork of the fluxbox windowmanager

dont resize if not isResizable, disabled title in layermenu
fluxgen fluxgen
commit

6a5fff9ae18862a93dbf80b9b6c6c731ce334893

parent

790c861b6065f3193b97602c753596506b845107

1 files changed, 6 insertions(+), 4 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.199 2003/06/26 12:22:43 rathnor Exp $ +// $Id: Window.cc,v 1.200 2003/06/30 15:02:39 fluxgen Exp $ #include "Window.hh"

@@ -305,6 +305,7 @@

void FluxboxWindow::init() { // so parent menu don't kill us m_layermenu->setInternalMenu(); + m_layermenu->disableTitle(); m_attaching_tab = 0;

@@ -365,8 +366,6 @@ FbTk::RefCount<FbTk::Command> set_client_cmd(new SetClientCmd(*m_client));

btn->setOnClick(set_client_cmd); evm.add(*this, btn->window()); // we take care of button events for this evm.add(*this, m_client->window()); - - // frame().reconfigure(); // redirect events from frame to us

@@ -1002,7 +1001,10 @@ if ((((signed) frame().height()) + new_y) < 0)

new_y = 0; downsize(); - + if (!isResizable()) { + new_width = width(); + new_height = height(); + } frame().moveResize(new_x, new_y, new_width, new_height); setFocusFlag(focused);