PaperWM
PaperWM copied to clipboard
windows resized after rotation
I am using paperWM on a 2-in-1 pc, which supports window rotation events.
Everything works fine when the screen is rotated, but I noticed that the dimension of the windows are lost everytime.
For instance, if I am using the pc on landscape, then rotate it to portrait, and back to landscape, all the windows are resized to a smaller width than they were originally in the landscape mode.
Is there a way that the layout remains fixed either in portrait or landscape modes?
Yeah, there's room for improvement when handling changing monitor configurations. Eg. preserve our pseudo maximize.
Is there a way that the layout remains fixed either in portrait or landscape modes?
You'll have to look up how to do this in gnome-shell/mutter. We only react to changes in the monitor configuration which I'm guessing gnome-shell/mutter triggers when they see the screen rotation change.