opt: not resize maximize and fullscreen window

This commit is contained in:
DreamMaoMao 2025-10-11 12:38:54 +08:00
parent eea5b9a7d8
commit e0e3069e7a

View file

@ -470,6 +470,10 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int offsetx, int offsety,
void resize_tile_client(Client *grabc, bool isdrag, int offsetx, int offsety,
unsigned int time) {
if (!grabc || grabc->isfullscreen || grabc->ismaxmizescreen)
return;
const Layout *current_layout =
grabc->mon->pertag->ltidxs[grabc->mon->pertag->curtag];
if (current_layout->id == TILE || current_layout->id == DECK ||