Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

fixed sized window not working in tiling window manager in linux



  • i made a widget that is fixed in size and will show up at bottom of screen. it works fine in Stacking_window_manager
    but not in Tiling_window_manager like i3wm in linux. the window manager scratches the window .

    0_1550484279947_o.png

    but should be like this

    0_1550484004971_a6c9504d-4721-4040-9f88-663412b68661-image.png

    my code is

    // set window size
        int x = static_cast<int>(CPrime::InfoFunc::screenSize().width()  * .8);
        int y = static_cast<int>(CPrime::InfoFunc::screenSize().height()  * .7);
        this->setFixedSize(x,y);
    
    

    how can i fix that.


Log in to reply