PaperWM icon indicating copy to clipboard operation
PaperWM copied to clipboard

windows resized after rotation

Open kurka opened this issue 5 years ago • 2 comments

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?

kurka avatar May 13 '20 19:05 kurka

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.

hedning avatar May 22 '20 16:05 hedning