aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/x11-init.c
Commit message (Collapse)AuthorAgeFilesLines
* devdraw: x11 working againRuss Cox2020-01-131-738/+0
| | | | | | | | 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-1/+1
|
* devdraw: move Client into devdraw.h and move global state inRuss Cox2020-01-131-1/+2
|
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-7/+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>
* devdraw: set displaydpi on devdraw x11 attach (#178)Gabriel Díaz2018-11-141-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.
* devdraw: fix some memory leaks in x11Xiao-Yong Jin2018-03-271-0/+2
|
* devdraw: prefer 24-bit over 15-bit or 16-bit.Russ Cox2012-10-071-6/+6
| | | | | | | Fixes remote X11 use via XQuartz 2.7.4. R=rsc http://codereview.appspot.com/6624058
* devdraw: OS X native versionRuss Cox2008-06-301-73/+1
|
* devdraw, rio: more full-screen nonsenseRuss Cox2008-01-301-12/+4
|
* devdraw: add F11 for full-screen toggleRuss Cox2008-01-301-2/+18
|
* In non-blocking recv functions in libmux and libdraw,rsc2006-11-041-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.
* Fix resize error under KDE (Bart Locanthi)rsc2006-07-051-4/+9
|
* new draw serverrsc2006-06-251-0/+788