The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Floating windows showing up in the middle of a dualscreen setup

asked 2013-10-10 16:37:54 +0000

MakeTeaNotLove gravatar image

updated 2013-10-10 16:44:30 +0000

Every time I use GUI's that pop up a window in the middle of the screen it (the popup) get's displayed exactly in the middle of the two displays, ergo the one half of the popup on screen one and the other on screen two.

Needless to say that this is very annoying. Is there a quickfix for this?

BTW: im using i3 on a W530 laptop with a 1920x1080 display hooked up to it via the displayport.

Xrandr output:

LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm 1920x1080 60.0*+ 50.0
1400x1050 60.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)

VIRTUAL1 unknown connection 1920x1080+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm 1600x1200 60.0
1400x1050 60.0
1280x960 60.0
800x600 56.2
640x480 59.9
"1920x1080_60.00" 60.0*

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-10-10 16:53:10 +0000

Michael gravatar image

The placing of floating windows is dictated by the application. Therefore, the right place to fix issues with placement is the application, not i3.

edit flag offensive delete link more

Comments

Yes and no: some applications (like codeblocks) allow for a specialized dualhead setup. Most applications however don't. These programs seem to think the entire width of both screens should be used when displaying popups. I was figuring if there was a way for i3 to simulate a single screen.

MakeTeaNotLove gravatar imageMakeTeaNotLove ( 2013-10-10 17:19:04 +0000 )edit

i3 has nothing to do with that — it adapts to what it is presented by the X server. XRandR in fact works in such a way that you have one big display and then the apps need to be smart about where the monitor boundaries are. If your app doesn’t do it, you need to fix it. There is no other way.

Michael gravatar imageMichael ( 2013-10-10 21:34:46 +0000 )edit

Question Tools

Stats

Asked: 2013-10-10 16:37:54 +0000

Seen: 278 times

Last updated: Oct 10 '13