/[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 262 by astrand, Mon Nov 18 15:37:20 2002 UTC revision 263 by astrand, Mon Nov 18 18:12:49 2002 UTC
# Line 298  ui_init(void) Line 298  ui_init(void)
298          host_be = !(BOOL) (*(uint8 *) (&test));          host_be = !(BOOL) (*(uint8 *) (&test));
299          xserver_be = (ImageByteOrder(display) == MSBFirst);          xserver_be = (ImageByteOrder(display) == MSBFirst);
300    
301            if ((width == 0) || (height == 0))
302            {
303                    /* Fetch geometry from _NET_WORKAREA */
304                    uint32 xpos, ypos;
305    
306                    if (get_current_workarea(&xpos, &ypos, &width, &height) < 0)
307                    {
308                            error("Failed to get workarea.\n");
309                            error("Perhaps your window manager does not support EWMH?\n");
310                            exit(1);
311                    }
312            }
313    
314          if (fullscreen)          if (fullscreen)
315          {          {
316                  width = WidthOfScreen(screen);                  width = WidthOfScreen(screen);

Legend:
Removed from v.262  
changed lines
  Added in v.263

  ViewVC Help
Powered by ViewVC 1.1.26