powercord-org / powercord

A lightweight @discord client mod focused on simplicity and performance.
MIT License
1.2k stars 147 forks source link

Maximized class not working as intended #597

Closed kckarnige closed 2 years ago

kckarnige commented 2 years ago

Describe the bug The maximized class is only updated once Powercord starts and doesn't change at all afterwards

To Reproduce Start up Discord maximized before Powercord can startup, the "maximized" class is applied, however, it is not removed when you restore the window

Expected behavior The "maximized" class should be removed when window is restored or not maximized, and the tag should be reapplied when maximized

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.