Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
xdpyinfo.c: In function `print_dmx_info':
xdpyinfo.c:1282: warning: declaration of 'count' shadows a previous local
xdpyinfo.c:1231: warning: shadowed declaration is here
xdpyinfo.c:1282: warning: declaration of 'i' shadows a previous local
xdpyinfo.c:1232: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Fixes clang warnings:
xdpyinfo.c:1463:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(arg);
~~~ ^~~~~~~~~~~
xdpyinfo.c:1465:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!strncmp("-display", arg, len)) {
~~~~~~~ ^~~
xdpyinfo.c:1468:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
} else if (!strncmp("-queryExtensions", arg, len)) {
~~~~~~~ ^~~
xdpyinfo.c:1470:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
} else if (!strncmp("-ext", arg, len)) {
~~~~~~~ ^~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Leftover from the Xprint code removed in commit 889264a52a6cf988
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
|
|
On a system with 30 extensions listed by xdpyinfo, truss -c
reports this saves quite a few system calls by batching the
QueryExtension requests instead of a round-trip for each one:
Xlib xcb
writev 40 11
poll 80 22
recv 117 29
total (*) 464 296
(*) total includes all system calls, including many not shown since
their count did not change significantly. There was one additional
set of open/mmap/close etc. for loading the added libX11-xcb library.
Over a tcp connection, this reduced both the number of packets,
and due to tcp packet header overhead, the overall amount of data:
Xlib xcb
TCP packets 93 35
TCP bytes 11554 7726
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
|
The if (isPrintScreen) always evaluate to false
Reviewed-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
xprint has been removed from X Window System
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Clears warnings when built with xf86vidmodeproto 2.2.99.1 & later
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
- Combine common modeline printing code into single function
- Don't return 0 unless extension isn't supported, since that
makes xdpyinfo report the extension isn't supported.
- Don't exit immediately if some information is not available,
since other info may be present.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=3438
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
The only other information I could see to query in the Composite 0.4
protocol spec is the Composite Overlay Window XID, but the request to
get that ID has the side effect of mapping the overlay window, and
xdpyinfo shouldn't have side effects like that.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, and corrects
make distcheck.
|
|
|
|
|
|
|
|
|
|
|
|
"modelines"
|
|
|
|
|
|
|
|
|
|
|
|
build)
|
|
(https://bugs.freedesktop.org/attachment.cgi?id=2555) bug 2705 part II:
Fix build to work with |#define BuildXprint NO| Patch by Kevin E.
Martin <kem@freedesktop.org>.
|
|
xc/programs/twm/twm.c
//bugs.freedesktop.org/show_bug.cgi?id=2705) attachment #2087
(https://bugs.freedesktop.org/attachment.cgi?id=2087) Make twm ignore
print screens to avoid that users accidentally warp on a non-video
screen (which are not visible on any monitor) when the Xserver has both
video and print screens. (This includes also a small cleanup of
xdpyinfo where parts of the print screen test code comes from) Patch by
Julien Lafon <julien.lafon@gmail.com> (MIT/X.org license).
|
|
libXaw.
|
|
I'm committing the patch from bug #1060 to back out unconditional
Xprint functionality.
Back out Xprint changes.
Revert xman to CVS of June 5, revert xlogo to CVS of May 8, revert xedit to
CVS of April 25, to back out unconditional Xprint support.
Fix up Xprint config logic to be like the rest of the extensions:
BuildXprint is a one-stop option for disabling everything Xprint
related. XprtServer controls building Xprt, BuildXprintLib controls
building Xprint libs and BuildXprintClients controls building clients
related to Xprint. BuiltXprint defaults to YES and the other options
respects relevant settings, i.e. BuildServer and BuildServersOnly.
Build Xaw regardless of BuildXprintLib setting.
Only build xphelloworld, xplsprinters and xprehashprinterlist when
BuildXprintClients it YES. Disable building xmore, it has always
supported XawPrintShell.
Make Xprint support depend on BuildXprintLib.
|
|
|
|
should print information about print screens
|
|
RFE: "xdpyinfo" should have support for XpExtension.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|