Re: [dev] [dwm] multiple monitors, default window placement
On Fri, Aug 02, 2013 at 10:15:43PM +0200, Anselm R Garbe wrote: Hi Martin, On 29 July 2013 09:50, Martin Kopta mar...@kopta.eu wrote: On Wed, Jul 03, 2013 at 06:59:34PM +0200, Anselm R Garbe wrote: Do you experience this with vanilla dwm from git? If not, then it might help to see your rules declaration of config.h. Yes, I use newest vanilla dwm from git without any patches. My rules are empty: static const Rule rules[] = { { 0 } }; Full config.h at pastebin [1]. Thank you for your time! This looks fine. Please also let me know if you use classic multiheads or Xinerama, and if the latter one, let me know the xrandr output. Best regards, Anselm I use xrandr to make my setup. My current output of xrandr is: Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767 LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm 1366x768 60.0*+ 1024x768 60.0 800x60060.3 56.2 640x48059.9 VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.0*+ 1600x1200 60.0 1680x1050 60.0 1280x1024 75.0 60.0 1440x900 75.0 59.9 1280x960 60.0 1280x800 59.8 1152x864 75.0 1024x768 75.1 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48072.8 75.0 66.7 60.0 720x40070.1 HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) Used command is: static const char *mon3[] = { xrandr, --output, LVDS1, --auto, --left-of, VGA1, --output, VGA1, --auto, NULL }; { MODKEY, XK_F3, spawn, {.v = mon3 } }, Currently, my primary output is LVDS1. If I move my mouse to VGA1 screen and even ensure by MOD+. (twice) it is actually selected and create new windows (st), it is created on LVDS1 instead of VGA1. Of course, I can change my primary output from LVDS1 to VGA1 using xrandr --primary, but then I have the opposite problem in some cases. Best regards, Martin Kopta
Re: [dev] [dwm] multiple monitors, default window placement
Hi Martin, On 29 July 2013 09:50, Martin Kopta mar...@kopta.eu wrote: On Wed, Jul 03, 2013 at 06:59:34PM +0200, Anselm R Garbe wrote: Do you experience this with vanilla dwm from git? If not, then it might help to see your rules declaration of config.h. Yes, I use newest vanilla dwm from git without any patches. My rules are empty: static const Rule rules[] = { { 0 } }; Full config.h at pastebin [1]. Thank you for your time! This looks fine. Please also let me know if you use classic multiheads or Xinerama, and if the latter one, let me know the xrandr output. Best regards, Anselm
Re: [dev] [dwm] multiple monitors, default window placement
On Wed, Jul 03, 2013 at 06:59:34PM +0200, Anselm R Garbe wrote: On 28 June 2013 14:25, Martin Kopta mar...@kopta.eu wrote: If I create new window, it gets placed on the primary monitor no matter what monitor is currently focused and no matter where mouse cursor is. It is annoying, but (for most apps) I can just move the window to the prefered (nonprimary) monitor. But some apps cannot be moved -- rdesktop and such. Is there any solution to this? It is considered as faulty behavior? Did I miss something in config.h? Thank you. Do you experience this with vanilla dwm from git? If not, then it might help to see your rules declaration of config.h. Best regards, Anselm Yes, I use newest vanilla dwm from git without any patches. My rules are empty: static const Rule rules[] = { { 0 } }; Full config.h at pastebin [1]. Thank you for your time! Best regards, Martin [1] http://pastebin.com/01FZfWjN pgpj6QH3RMWG9.pgp Description: PGP signature
Re: [dev] [dwm] multiple monitors, default window placement
* Martin Kopta mar...@kopta.eu [28.06.2013 14:26]: If I create new window, it gets placed on the primary monitor no matter what monitor is currently focused and no matter where mouse cursor is. It is annoying, but (for most apps) I can just move the window to the prefered (nonprimary) monitor. But some apps cannot be moved -- rdesktop and such. Is there any solution to this? It is considered as faulty behavior? Did I miss something in config.h? Thank you. To me this looks like you misconfigured some things in your config.h. Please show what you have set in the rules.
Re: [dev] [dwm] multiple monitors, default window placement
On 28 June 2013 14:25, Martin Kopta mar...@kopta.eu wrote: If I create new window, it gets placed on the primary monitor no matter what monitor is currently focused and no matter where mouse cursor is. It is annoying, but (for most apps) I can just move the window to the prefered (nonprimary) monitor. But some apps cannot be moved -- rdesktop and such. Is there any solution to this? It is considered as faulty behavior? Did I miss something in config.h? Thank you. Do you experience this with vanilla dwm from git? If not, then it might help to see your rules declaration of config.h. Best regards, Anselm
[dev] [dwm] multiple monitors, default window placement
If I create new window, it gets placed on the primary monitor no matter what monitor is currently focused and no matter where mouse cursor is. It is annoying, but (for most apps) I can just move the window to the prefered (nonprimary) monitor. But some apps cannot be moved -- rdesktop and such. Is there any solution to this? It is considered as faulty behavior? Did I miss something in config.h? Thank you. pgpIEhSwGOBVD.pgp Description: PGP signature