aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/x11-init.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14devdraw: set displaydpi on devdraw x11 attach (#178)Gabriel Díaz1-2/+7
See https://plan9port-review.googlesource.com/c/plan9/+/1470 for discussion of the approach, especially Michael Stapleberg's comment: Note that chromium, firefox and others have tried this and then switched to using the Xft.dpi X resource, see e.g. https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/libgtk2ui/gtk2_ui.cc and especially http://sources.debian.net/src/gnome-settings-daemon/3.18.2-1/plugins/xsettings/gsd-xsettings-manager.c/?hl=824#L80 for some anecdata about why this approach doesn’t work out. The Xft.dpi resource is being set accurately by desktop environments (GNOME, KDE, …) and can easily be changed by users of niche window managers by editing ~/.Xresources. I suggest we check only Xft.dpi, without considering the DPI environment variable or the monitor width/height.
2018-03-27devdraw: fix some memory leaks in x11Xiao-Yong Jin1-0/+2
2012-10-07devdraw: prefer 24-bit over 15-bit or 16-bit.Russ Cox1-6/+6
Fixes remote X11 use via XQuartz 2.7.4. R=rsc http://codereview.appspot.com/6624058
2008-06-30devdraw: OS X native versionRuss Cox1-73/+1
2008-01-30devdraw, rio: more full-screen nonsenseRuss Cox1-12/+4
2008-01-30devdraw: add F11 for full-screen toggleRuss Cox1-2/+18
2006-11-04In non-blocking recv functions in libmux and libdraw,rsc1-1/+2
distinguish between "cannot receive without blocking" and "EOF on connection". In libmux, do not elect async guys muxers, so that synchronous RPC calls run in the main event loop (e.g., in eresized) do not get stuck. Fixes problem reported by Lu Xuxiao, namely that jpg etc. would spin at 100% cpu usage.
2006-07-05Fix resize error under KDE (Bart Locanthi)rsc1-4/+9
2006-06-25new draw serverrsc1-0/+788