/[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 651 by astrand, Thu Apr 15 20:12:42 2004 UTC revision 677 by n-ki, Mon Apr 26 13:48:39 2004 UTC
# Line 1009  ui_create_window(void) Line 1009  ui_create_window(void)
1009  }  }
1010    
1011  void  void
1012    ui_resize_window()
1013    {
1014            XSizeHints *sizehints;
1015    
1016            sizehints = XAllocSizeHints();
1017            if (sizehints)
1018            {
1019                    sizehints->flags = PMinSize | PMaxSize;
1020                    sizehints->min_width = sizehints->max_width = g_width;
1021                    sizehints->min_height = sizehints->max_height = g_height;
1022                    XSetWMNormalHints(g_display, g_wnd, sizehints);
1023                    XFree(sizehints);
1024            }
1025    
1026            if (!(g_fullscreen || g_embed_wnd))
1027            {
1028                    XResizeWindow(g_display, g_wnd, g_width, g_height);
1029            }
1030    }
1031    
1032    void
1033  ui_destroy_window(void)  ui_destroy_window(void)
1034  {  {
1035          if (g_IC != NULL)          if (g_IC != NULL)

Legend:
Removed from v.651  
changed lines
  Added in v.677

  ViewVC Help
Powered by ViewVC 1.1.26