window manager development thread - Desktop Customization & Workflow

Users browsing this thread: 1 Guest(s)
Long time nixers
(21-02-2021, 10:57 PM)phillbush Wrote: I just had a bad time trying to draw into borders. I thought the 0,0 position of the border was its top left corner, but it actually coincides with the 0,0 origin of the window. So I have to draw on the right and bottom edges of a pixmap in order for it to map into the left and top edges of the borders.

Maybe this helps:

I did normal drawing first and then did a bunch of XCopyArea(), so I don’t have to worry about this weird layout.

(For katriawm, I simply create additional windows and move them right next to the real window. Much easier. No reparenting, but who cares.)

(I have a déjà-vu, didn’t we already discuss this at some point? :))

Messages In This Thread
window manager development thread - by phillbush - 30-08-2020, 09:10 PM
RE: window manager development thread - by venam - 31-08-2020, 03:36 AM
RE: window manager development thread - by movq - 22-02-2021, 08:37 AM