From 37e2f7be9a3dfa6fb25972c916312edbc224f23e Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sun, 13 Mar 2005 03:45:27 +0000 Subject: [PATCH] some new orders git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@848 423420c4-83ab-492f-b58f-81f9feb106b5 --- uiports/makefile_svga | 6 +++--- uiports/svgawin.c | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/uiports/makefile_svga b/uiports/makefile_svga index 5bd29ef..c919272 100644 --- a/uiports/makefile_svga +++ b/uiports/makefile_svga @@ -31,6 +31,6 @@ rest: ../tcp.c ../iso.c ../mcs.c ../secure.c ../rdp.c ../rdp5.c ../orders.c ../c svgawin.o: svgawin.c $(CC) $(CFLAGS) -c $*.c clean: - rm svgardesktop - rm *.o - rm ../*.o \ No newline at end of file + rm -f svgardesktop + rm -f *.o + rm -f ../*.o diff --git a/uiports/svgawin.c b/uiports/svgawin.c index 78955d8..628393b 100644 --- a/uiports/svgawin.c +++ b/uiports/svgawin.c @@ -1,7 +1,7 @@ /* -*- c-basic-offset: 8 -*- rdesktop: A Remote Desktop Protocol client. User interface services - SVGA lib - Copyright (C) Jay Sorg 2004 + Copyright (C) Jay Sorg 2004-2005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,7 +29,6 @@ #include // getpwuid #include // va_list va_start va_end - #include #include #include @@ -43,7 +42,8 @@ int g_height = 600; int g_width = 800; int g_server_bpp = 8; int g_encryption = 1; -int g_desktop_save =1; +int g_desktop_save = 1; +int g_polygon_ellipse_orders = 0; int g_bitmap_cache = 1; int g_bitmap_cache_persist_enable = False; int g_bitmap_cache_precache = True; @@ -129,13 +129,13 @@ typedef struct myrect* head_rect = 0; +//***************************************************************************** // Keyboard stuff - PeterS - static void setled(int mask, int state) { int fd; long int leds; - + if (( fd=open("/dev/console", O_NOCTTY)) != -1 ) { if (ioctl (fd, KDGETLED, &leds) != -1) @@ -144,8 +144,8 @@ static void setled(int mask, int state) if (state) leds |= mask; else - leds &= ~mask; - ioctl (fd, KDSETLED, leds); + leds &= ~mask; + ioctl (fd, KDSETLED, leds); } close(fd); }