/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/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/branches/seamlessrdp-branch/rdesktop/xwin.c

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

revision 1105 by astrand, Fri Mar 10 13:46:15 2006 UTC revision 1107 by astrand, Fri Mar 10 14:09:16 2006 UTC
# Line 1903  xwin_process_events(void) Line 1903  xwin_process_events(void)
1903                                                            xevent.xexpose.width,                                                            xevent.xexpose.width,
1904                                                            xevent.xexpose.height, xevent.xexpose.x,                                                            xevent.xexpose.height, xevent.xexpose.x,
1905                                                            xevent.xexpose.y);                                                            xevent.xexpose.y);
1906                                            else
1907                                            {
1908                                                    error("Expose for unknown window 0x%lx\n",
1909                                                          xevent.xexpose.window);
1910                                            }
1911                                  }                                  }
1912    
1913                                  break;                                  break;
# Line 3058  void Line 3063  void
3063  ui_seamless_destroy_window(unsigned long id, unsigned long flags)  ui_seamless_destroy_window(unsigned long id, unsigned long flags)
3064  {  {
3065          seamless_window *sw;          seamless_window *sw;
         sw = seamless_get_window_by_id(id);  
3066    
3067            sw = seamless_get_window_by_id(id);
3068          if (!sw)          if (!sw)
3069          {          {
3070                  warning("ui_seamless_destroy_window: No information for window 0x%lx\n", id);                  warning("ui_seamless_destroy_window: No information for window 0x%lx\n", id);
# Line 3077  ui_seamless_move_window(unsigned long id Line 3082  ui_seamless_move_window(unsigned long id
3082          seamless_window *sw;          seamless_window *sw;
3083    
3084          sw = seamless_get_window_by_id(id);          sw = seamless_get_window_by_id(id);
   
3085          if (!sw)          if (!sw)
3086          {          {
3087                  warning("ui_seamless_move_window: No information for window 0x%lx\n", id);                  warning("ui_seamless_move_window: No information for window 0x%lx\n", id);
# Line 3110  ui_seamless_settitle(unsigned long id, c Line 3114  ui_seamless_settitle(unsigned long id, c
3114          seamless_window *sw;          seamless_window *sw;
3115    
3116          sw = seamless_get_window_by_id(id);          sw = seamless_get_window_by_id(id);
3117            if (!sw)
3118            {
3119                    warning("ui_seamless_settitle: No information for window 0x%lx\n", id);
3120                    return;
3121            }
3122    
3123          XStoreName(g_display, sw->wnd, title);          XStoreName(g_display, sw->wnd, title);
3124  }  }
# Line 3121  ui_seamless_setstate(unsigned long id, u Line 3130  ui_seamless_setstate(unsigned long id, u
3130          seamless_window *sw;          seamless_window *sw;
3131    
3132          sw = seamless_get_window_by_id(id);          sw = seamless_get_window_by_id(id);
3133            if (!sw)
3134            {
3135                    warning("ui_seamless_setstate: No information for window 0x%lx\n", id);
3136                    return;
3137            }
3138    
3139          switch (state)          switch (state)
3140          {          {

Legend:
Removed from v.1105  
changed lines
  Added in v.1107

  ViewVC Help
Powered by ViewVC 1.1.26