I'm trying to use a second monitor, and I've met issues...
The primary monitor is not rotated. It is placed a bit lower than the second one's top.
The second monitor is rotated and placed to the left of the primary.
The panel is on the primary monitor, at the top.
The maximized apps on the first monitor are remaximized not taking the panel size in account, i.e. they are maximized to the screen size, not to the screen size minus the panel size, like they were in single monitor mode.
Some applications are moved to the second monitor. I don't know why, and would rather they stay where they were.
Maximizing on the second monitor is also having problems, there the panel height is used, so the apps are not really maximized.
Then if I disable the second monitor by using xrandr:
The apps then maximize to a smaller area than the screen, 202 pixels lower than the top:
2560x1220+0+202
Those 202 pixels look suspiciously like 176 (the primary screen offset from the secondary) + 26 (the taskbar height)
I've had a look at the wmframe.cc::YFrameWindow::getNewPos() code, there's a check for taskbar's screen being the same as app frame, this may be where one of the the problems is.
Hello,
I'm trying to use a second monitor, and I've met issues...
The primary monitor is not rotated. It is placed a bit lower than the second one's top. The second monitor is rotated and placed to the left of the primary. The panel is on the primary monitor, at the top.
After enabling the second monitor by using xrandr to place & rotate appropriately:
The maximized apps on the first monitor are remaximized not taking the panel size in account, i.e. they are maximized to the screen size, not to the screen size minus the panel size, like they were in single monitor mode.
Some applications are moved to the second monitor. I don't know why, and would rather they stay where they were.
Maximizing on the second monitor is also having problems, there the panel height is used, so the apps are not really maximized.
Then if I disable the second monitor by using xrandr:
The apps then maximize to a smaller area than the screen, 202 pixels lower than the top: 2560x1220+0+202
Those 202 pixels look suspiciously like 176 (the primary screen offset from the secondary) + 26 (the taskbar height)
I've had a look at the
wmframe.cc::YFrameWindow::getNewPos()
code, there's a check for taskbar's screen being the same as app frame, this may be where one of the the problems is.