macroquad icon indicating copy to clipboard operation
macroquad copied to clipboard

Non-resizable windows stlil able to be resized

Open rsaihe opened this issue 4 years ago • 8 comments

Here is a minimal example:

use macroquad::prelude::*;

#[macroquad::main(window_conf)]
async fn main() {
    loop {
        next_frame().await
    }
}

fn window_conf() -> Conf {
    Conf {
        window_resizable: false,
        ..Default::default()
    }
}

rsaihe avatar Apr 22 '21 15:04 rsaihe

@rsaihe Which OS are you using? I have the same issue with Arch Linux and i3 tiling window manager.

I guess window_resizable is working only in windows. Is there any reason for this?

https://github.com/not-fl3/miniquad/blob/ce89d04a44754f333fe2c8d0d902457336af5e01/src/lib.rs#L415-L423

tharinduc avatar May 02 '21 18:05 tharinduc

I'm running Pop!_OS Linux right now.

rsaihe avatar May 02 '21 19:05 rsaihe

I'm getting same issue on Ubuntu Mate 21.04

This issue may be relevant

rohannishant avatar May 05 '21 13:05 rohannishant

Actually this is not implemented for linux. I tried to implement this but my window manager was overriding this. I will let you know If I make any progress

tharinduc avatar May 05 '21 14:05 tharinduc

Just an update. I have created a PR for this issue. If everything is fine, it will get merged.

tharinduc avatar May 05 '21 20:05 tharinduc

I'm also having this issue. I'm on Mac Catalina 10.15.7

eboatwright avatar Sep 18 '21 22:09 eboatwright

in Pop! os 21.04 no resizing works

eboatwright avatar Jan 05 '22 20:01 eboatwright

Same issue in Mac OS 12.6.9

pherrymason avatar Sep 24 '23 17:09 pherrymason