Commit graph

15 commits

Author SHA1 Message Date
Russ Cox
587933c161 devdraw: use global drawlk instead of per-client
Setting up for a real window system.
2020-05-17 23:24:29 -04:00
Russ Cox
94d381ec9d devdraw: use indirect impl interface
Setting up for a real window system.
2020-05-17 23:19:24 -04:00
Russ Cox
1f799495e4 devdraw: notify window resize promptly on x11
Fixes #339.
2020-01-14 19:43:32 -05:00
Russ Cox
50923426bf devdraw: x11 working again
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.
2020-01-13 16:46:14 -05:00
Russ Cox
892b3c4687 devdraw: multiclient mode 2020-01-13 16:46:14 -05:00
Russ Cox
41547af3f6 devdraw: more cleanup, clearer locking 2020-01-13 16:46:14 -05:00
Russ Cox
b1a086dee9 devdraw: refactor, clean up mac screen
Also turn mac-srv.c into a generic srv.c,
so we can remove the duplication with x11-srv.c.
2020-01-13 16:46:14 -05:00
Russ Cox
843e5af198 devdraw: move per-window globals in mac-screen.m into Client 2020-01-13 16:46:14 -05:00
Russ Cox
88ed92aa40 devdraw: move Client into devdraw.h and move global state in 2020-01-13 16:46:14 -05:00
Russ Cox
55905845f3 devdraw: add forcedpi toggled by Fn+F3 on Mac
R=rsc
http://codereview.appspot.com/6846104
2012-11-25 23:38:14 -05:00
Russ Cox
d0e0701913 devdraw, libdraw: add display->dpi
Fixed at 100 right now, but the plan is to make it accurate
and then use it.

R=rsc
http://codereview.appspot.com/6856091
2012-11-25 21:41:52 -05:00
Justin Davis
4b58d45707 devdraw: do not interpret alt-tab as alt for compose
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5132050
2011-09-28 14:11:32 -04:00
Russ Cox
50e6d00cd3 devdraw/OSX: read $mousebuttonmap to allow swapping mouse buttons 2008-10-08 15:00:45 -07:00
Russ Cox
9142d36228 devdraw: OS X native version 2008-06-30 19:41:08 -04:00
rsc
c66b52501b new draw server 2006-06-25 19:18:39 +00:00