w3m icon indicating copy to clipboard operation
w3m copied to clipboard

w3m and guake

Open stribor14 opened this issue 5 years ago • 1 comments

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.

stribor14 avatar Apr 23 '19 13:04 stribor14

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 :(

stribor14 avatar Apr 23 '19 15:04 stribor14