/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 545 by stargo, Mon Nov 3 20:19:01 2003 UTC revision 547 by astrand, Mon Nov 10 15:09:49 2003 UTC
# Line 775  ui_init(void) Line 775  ui_init(void)
775          /*          /*
776           * Determine desktop size           * Determine desktop size
777           */           */
778          if (g_width < 0)          if (g_fullscreen)
779            {
780                    g_width = WidthOfScreen(g_screen);
781                    g_height = HeightOfScreen(g_screen);
782            }
783            else if (g_width < 0)
784          {          {
785                  /* Percent of screen */                  /* Percent of screen */
786                  g_height = HeightOfScreen(g_screen) * (-g_width) / 100;                  g_height = HeightOfScreen(g_screen) * (-g_width) / 100;
# Line 798  ui_init(void) Line 803  ui_init(void)
803                          g_height = 600;                          g_height = 600;
804                  }                  }
805          }          }
         else if (g_fullscreen)  
         {  
                 g_width = WidthOfScreen(g_screen);  
                 g_height = HeightOfScreen(g_screen);  
         }  
806    
807          /* make sure width is a multiple of 4 */          /* make sure width is a multiple of 4 */
808          g_width = (g_width + 3) & ~3;          g_width = (g_width + 3) & ~3;

Legend:
Removed from v.545  
changed lines
  Added in v.547

  ViewVC Help
Powered by ViewVC 1.1.26