we want to resize our applications via wmctrl and most of them just stop at the end of the first screen. Steps to reproduce (obviously you need two monitors):
• open gedit
• open glxgears
• do wmctrl -r “gedit” -e 0,0,0,4200,1200 ( or 0,0,0,2200,600 if you have two full hd monitors)
• do wmctrl -r “glxgears” -e 0,0,0,4200,1200 ( or 0,0,0,2200,600 if you have two full hd monitors)
Results on SLE-15 gnome or on RedHat 9 gnome:
gedit is spanning over both monitors, glxgears stops at the first monitor
If you do the same while the glxgears window is already inbetween both monitors it works!
Tested also with xdotool, same results.
For me it looks like after the resize the gnome desktop imediately snaps the window size back to the first monitor. Is there maybe a setting how to prevent that? This is more a gut feeling I am not able to see it.
Any suggestions what else I could test?
Thanks and Kind Regards,