boomer icon indicating copy to clipboard operation
boomer copied to clipboard

`-d:live` works incorrectly for `DefaultRootWindow`, selected window with `-d:select` fixes it

Open kiprasmel opened this issue 3 years ago • 1 comments

nimble build # works
nimble build -d:developer # works
nimble build -d:developer -d:mitshm # works
nimble build -d:developer -d:mitshm -d:select # works
nimble build -d:select # works

if I build with -d:live though, the first 3 do not work properly, and 4-5 (with -d:select work once again (if I select a window with the mouse, because otherwise, by pressing a key, it falls back to the default root window so it does not work properly again)).

The "does not work properly behavior": https://youtu.be/IfTl_N_I5tc


I tried messing with the source a bit but unsuccessfully; I'm also not familiar with nim:D


I'm using arch linux, X11 + Xorg, i3wm.

$ uname -a
Linux arch-usb2 5.4.97-1-lts #1 SMP Wed, 10 Feb 2021 09:32:28 +0000 x86_64 GNU/Linux

kiprasmel avatar Feb 13 '21 16:02 kiprasmel

@kiprasmel yep, that's why it's not ON by default. Because it never worked, because I never figured out how to make it work without -d:select. :D

Thank you for creating an issue for that!

rexim avatar Feb 18 '21 12:02 rexim