aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/devdraw.c
Commit message (Collapse)AuthorAgeFilesLines
* devdraw: fix dangling elseArusekk2025-10-091-2/+2
| | | | | | | | | | | | Because of a dangling else, after adding a name to an image with 'N', it was immediately deleted, resulting in Enoname in response to 'n'. This went mostly unnoticed, since plan9port itself does not use named images, but it can break external applications like truedraw[1]. [1]: https://git.sr.ht/~arusekk/truedraw Fixes: c66b52501b63 ("new draw server")
* devdraw: use global drawlk instead of per-clientRuss Cox2020-05-171-12/+14
| | | | Setting up for a real window system.
* devdraw: use indirect impl interfaceRuss Cox2020-05-171-2/+2
| | | | Setting up for a real window system.
* devdraw: notify window resize promptly on x11Russ Cox2020-01-141-4/+1
| | | | Fixes #339.
* devdraw: x11 working againRuss Cox2020-01-131-0/+7
| | | | | | | | Need to think a bit more about locking, but overall it's a working devdraw. Multiclient mode may not be working but nothing is using it yet.
* devdraw: more cleanup, clearer lockingRuss Cox2020-01-131-69/+61
|
* devdraw: refactor, clean up mac screenRuss Cox2020-01-131-4/+4
| | | | | Also turn mac-srv.c into a generic srv.c, so we can remove the duplication with x11-srv.c.
* devdraw: move Client into devdraw.h and move global state inRuss Cox2020-01-131-232/+108
|
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-9/+7
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* all: fix or silence all INSTALL warnings on macOSRuss Cox2017-01-061-2/+2
| | | | | | | | Should be a clean build now. Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067 Reviewed-on: https://plan9port-review.googlesource.com/2781 Reviewed-by: Russ Cox <rsc@swtch.com>
* devdraw: add forcedpi toggled by Fn+F3 on MacRuss Cox2012-11-251-1/+5
| | | | | R=rsc http://codereview.appspot.com/6846104
* devdraw, libdraw: add display->dpiRuss Cox2012-11-251-1/+27
| | | | | | | | Fixed at 100 right now, but the plan is to make it accurate and then use it. R=rsc http://codereview.appspot.com/6856091
* devdraw: OS X native versionRuss Cox2008-06-301-10/+3
|
* devdraw: add F11 for full-screen toggleRuss Cox2008-01-301-3/+10
|
* Fix resize error under KDE (Bart Locanthi)rsc2006-07-051-4/+4
|
* new draw serverrsc2006-06-251-0/+1607