Make AvizoWindow never having focus
Opened this issue · 5 comments
Is it possible to make Gtk/Gdk Tell the compositor that the AvizoWindow
must Not bei focussed, so all Inputs are captured by the window that was focussed before?
This is not happening on my system with Sway (Alpine Linux v3.15). When I open a terminal, press the volume up button, Avizo is shown, now when I type it goes to the terminal.
The following line should disable the input capturing: src/avizo_service.vala:254:
GtkLayerShell.set_keyboard_interactivity(window, false);
Hmm, I tested this yesterday, and if you explicitly click on the window the other window loses its focus, but maybe something else went wrong and brought me to this conclusion.
I just tried to click on the notification window and it still doesn’t get focus.
Does y-offset
work for you? What version of gdk-layer-shell do you have?
Yes, the y-offset was working fine! I'm using the wrong device right now, so I will check the layer shell version tomorrow.
This means that it is rendered correctly via Wayland and Layer Shell interface. I dunno what may be the cause of the problem, maybe a bug in some old version?