summaryrefslogtreecommitdiff
path: root/sys/src/libdraw/init.c
AgeCommit message (Collapse)Author
2020-12-07libdraw: open internal file-descriptors with OCEXEC flagcinap_lenrek
2018-11-08libdraw: cannot happencinap_lenrek
2018-11-07libdraw: fix gengetwindow()cinap_lenrek
- fix fd leak in winname read() <= 0 case - avoid freeing d->image (was by freeimage((*scrp)->image)) - dont leak screen and window in fullscreen mode
2017-04-29libdraw: get rid of _drawdebug variablecinap_lenrek
2015-09-20libdraw: remove unneeded check (thanks BurnZeZ)cinap_lenrek
2015-09-20libdraw, screenrc: bind devdraw and devmouse in screenrc instead of handling ↵cinap_lenrek
it in libdraw libdraw was attempting to bind '#i' and '#m' to /dev when it could not find /dev/mouse or /dev/draw. a library shouldnt be that clever and do namespace manipulations on behalf of the caller. so instead, we setup the graphics environment in screenrc on boot time.
2015-06-09libdraw: consistent use of nil for pointers, error handlingcinap_lenrek
2013-01-25libdraw: fix memory corruption bug in initdisplay()cinap_lenrek
2013-01-11libdraw: gengetwindow() fix mistakecinap_lenrek
dont zero *winp so the "screen" pointer is preserved.
2013-01-10libdraw: gengetwindow() resize racecinap_lenrek
instead of trying to make rio not change the window image too fast and give the client some time to attach it (which turns out to be impossible), we acknowledge that there is a race and just retry the window reattach as long as the winname keeps changing in gengetwindow().
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen