summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <zack@ppc64.localdomain>2006-03-16 18:33:01 -0500
committerZack Rusin <zack@ppc64.localdomain>2006-03-16 18:33:01 -0500
commitaec527bb85080252a1748abfa176d913e08171d6 (patch)
tree2c419c357c0815574b0203380d0d3be355be1fad
parent17ea2271a74bd4f65bf32d2d6730194291a497c5 (diff)
stop listing filters and report server vendor and release
-rw-r--r--main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index f8fee5e..9c800b0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -85,7 +85,9 @@ main_loop(void)
{
RenderOp current_op;
- /* printf query filters */
+ printf("X Server from: %s, Release: %d\n", ServerVendor(disp), VendorRelease(disp));
+ printf("---------------------------------------------\n");
+ /* query filters
printf("Available XRENDER filters:\n");
{
int i;
@@ -94,7 +96,7 @@ main_loop(void)
flt = XRenderQueryFilters(disp, win);
for (i = 0; i < flt->nfilter; ++i)
printf("\t%s\n", flt->filter[i]);
- }
+ } */
/* setup */
surf_win = xrender_surf_adopt(disp, win, DefaultVisual(disp, DefaultScreen(disp)), win_w, win_h);
populate_from_file(disp, surf_win, ":/res/images/bg1.jpg");