On Wed, Sep 22, 2021 at 10:26:50AM +0100, Carsten Haitzler wrote: > On Tue, 21 Sep 2021 18:47:25 -0700 Marc MERLIN <marc_...@merlins.org> said: > > Input goes directly from xserver to chrome - e doesn't handle kbd/mouse input > - > at most it positions windows themselves, shows, hides, resizes etc. and the > compositor draws the output of the window content (just one big image for the > window) for where they are. > > i have used wm decorations with chrome for years and years and it works just > fine. It has for me too until M94/M95. Can you try the latest chrome-unstable ?
I've found how to reproduce 100%: 1) tell chrome to use WM title bar 2) it works, mouse goes in the right place 3) it works forever as long as my mouse cursor stays in that window 4) if I go to another window and come back, now it's offset by 16-24 pixels forever, until I restart E or toggle using title bar (step1) > 1. when e sends the synthetic configurenotifies to chrome it sends the wrong > x/y offset and chrome is somehow not using normal input events but > root-relative coordinates and doing its own offsetting based on this position > and because e sends the wrong position, chrome gets this wrong. if this were > the case it wouldn't be 16 pixels off but more like 23/24 pixels off as that's So, I wrote 16, but it could very well be 23/24. It's hard to count pixels on my 4K 17" screen :) > the titlebar size. now a good way to test if e is getting this synthetic > configurenotify wrong is with xev. it prints all events a client sees. e wont > differentiate chrome from xev or xterm - they are all windows with borders as > far as e is concerned. so e.g.: > > ConfigureNotify event, serial 32, synthetic YES, window 0x3a00001, > event 0x3a00001, window 0x3a00001, (402,23), width 178, height 178, > border_width 0, above 0x0, override NO I'm not sure how to run xev against another window (getting the windowid), can you remind me? Although given the above, is that enough info to diagnose/reproduce? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Home page: http://marc.merlins.org/ | PGP 7F55D5F27AAF9D08 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users