News for hackers. Stuff that matters.
Re:Xwm – a tiny XCB floating window manager by pdkl95 on Monday November 09, 2020 @06:58AM (#25033842)
> screenshot (in use): https://clbin.com/OEh1h

    $ HEAD https://clbin.com/OEh1h | grep Content-Type
    Content-Type: text/html; charset=UTF-8
The webserver is sending the image with the wrong content type, which makes some browsers (like mine) display the file as text. Viewing the file locally as a png works fine, but the browser only knows it's a png from the HTTP Content-Type header.

> I am hoping to improve ... reducing the overall complexity

I wish more projects had this goal.

    LDLIBS = -lm
    ALL_LDFLAGS = $(LDFLAGS) $(LIBS) -lxcb -lxcb-keysyms
The runtime deps - like the wm screenshot - are beautifully simple.
Re:Xwm – a tiny XCB floating window manager by mcpcpc on Monday November 09, 2020 @08:03AM (#25034326)
Re:Xwm – a tiny XCB floating window manager by mcpcpc on Monday November 09, 2020 @07:49AM (#25034180)
thanks! I spent quite a bit of time stripping out as many dependencies as i could.

will update the screenshot link shortly.