w3m
w3m copied to clipboard
w3m and guake
I'm trying to make w3mimgdisplay work inside guake3:
https://feathub.com/Guake/guake/+61
What is the dependency of a window for it to accept drawing from w3nimgdisplay? For example, I can give it chrome window ID and it will draw the image inside its window, but it won't work for nautilus and guake.
I tried accessing window ID through python-xlib
from Xlib.display import Display
guake_id = {GUAKE WINDOW ID}
d = Display()
w = d.create_resource_object("window", guake_id)
w.fill_rectangle(w.create_gc(), 0, 0, 500, 500)
d.flush()
It worked, I've got 500x500 filled rectangle. It seems like something is not working correctly on w3nimgdisplay side :(