Join GitHub today
Focus follow mouse WHILE holding mouse1 #3429
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
As first described in:
I expect that when a tab is dragged from monitor 1 into a chrome window on monitor 2, that the chrome window gets focused and merges the tab.
In 328035f or later, open a chrome window on monitor 1, and a chrome window on monitor 2, and drag a tab from one window to the other.
Anything after: 328035f
i3 version: 4.15
Issue is irrelevant of config.
- Linux Distribution & Version: Debian 9 - Are you using a compositor (e.g., xcompmgr or compton): compton
Because the application that does the drag grabs the pointer (eg in gtk: https://github.com/GNOME/gtk/blob/1729da8a3e611ce83624663b1cf762080a13eab2/gdk/x11/gdkdrag-x11.c#L2117) and we don't receive events. Nothing we can do about it AFAIK.
My understanding right now, after the comments in awesomeWM/awesome#170, is that chromium gets the
I am closing this since we haven't found anything i3 can improve on for this issue.
A hacky workaround is to constantly (since i3 will reset it under some conditions) delete the _NET_WM_DESKTOP from all chromium windows. Here is a script using https://github.com/acrisci/i3ipc-python/:
#!/usr/bin/env python import os import i3ipc def on_window(_, e): if e.container.window_class == "Chromium": os.system( "xdotool search --class chromium | xargs -L1 xprop -remove _NET_WM_DESKTOP -id" ) i3 = i3ipc.Connection() i3.on("window", on_window) i3.main()