Re: Client placement on wrong screen

2016-09-12 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

Am 12.09.2016 um 13:30 schrieb martin f krafft:
> I am running awesome from Git master (@g39aace5) on a XRandR-triple-head
> setup, with my screens from left to right being 2|1|3.
> 
> With the stock config, while focus (mouse) is e.g. on screen 1 (middle),
> creating a new client causes it to be placed on the left-most screen (2).

Sigh. This worked up until recently. I would guess that 21787444e4f1244 broke
this, but I can't test right now.
I reported this: https://github.com/awesomeWM/awesome/issues/1091

> 
> The only way to fix this I found was to add
> 
> screen = awful.screen.focused()
> 
> to the properties of the "all clients will match this rule" sub-table.
> 
> I wonder why this isn't part of the stock config, as the behaviour I am
> seeing can hardly be desirable. Or am I misunderstanding something?

Because with the above, all clients will open on screen 1 (or whatever screen
the mouse pointer is on when awesome starts). This table is created just once
at startup and not every time a new client appears.

Cheers,
Uli
- -- 
Bitte nicht mit dem verbleibenden Auge in den Laser gucken.
 - Vincent Ebert
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJX1sq9AAoJECLkKOvLj8sGvGgIAI8dDGlJ+RUjqPaenq4VOXrZ
XN67mjxjdeXuc6Wj6A+rSw52xIIfuBf10rj56AvgnbMABxokLNkr0wA2ZxO4fc87
Ag9dnncZy3CpTZ5m750e1ktHGFk9L7iakGbTy4YzS3u/tiJPo31v08LHqJJ9SSFy
950lSwJQrT4ryX+kTuG3G46BsnchD2FXlBB85A8Df0eCtDB5oDXm8qFldZlNAegN
laKaJUbvj2+kwbDVVftO32th2acMae8eV2IPlL8kgmTb/jgU3lvO3KoIo7lL7yYE
DRLbgRHUscn36FG/M90nSMRwJQ+h7qQVOSQJIhHKJNBENKeIqQVOKLdXgF7SlE4=
=9nNE
-END PGP SIGNATURE-

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Client placement on wrong screen

2016-09-12 Thread martin f krafft
Hello,

I am running awesome from Git master (@g39aace5) on
a XRandR-triple-head setup, with my screens from left to right being
2|1|3.

With the stock config, while focus (mouse) is e.g. on screen
1 (middle), creating a new client causes it to be placed on the
left-most screen (2).

The only way to fix this I found was to add

  screen = awful.screen.focused()

to the properties of the "all clients will match this rule"
sub-table.

I wonder why this isn't part of the stock config, as the behaviour
I am seeing can hardly be desirable. Or am I misunderstanding
something?

Thanks for any hints,

-- 
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
 
"politics is the entertainment branch of industry."
-- frank zappa
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)