/[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 1101 by astrand, Fri Mar 10 12:56:38 2006 UTC revision 1105 by astrand, Fri Mar 10 13:46:15 2006 UTC
# Line 3020  ui_seamless_create_window(unsigned long Line 3020  ui_seamless_create_window(unsigned long
3020          }          }
3021    
3022          /* Set WM_TRANSIENT_FOR, if necessary */          /* Set WM_TRANSIENT_FOR, if necessary */
3023          sw_parent = seamless_get_window_by_id(parent);          if (parent)
3024          if (sw_parent)          {
3025                  XSetTransientForHint(g_display, wnd, sw_parent->wnd);                  sw_parent = seamless_get_window_by_id(parent);
3026          else                  if (sw_parent)
3027                  warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);                          XSetTransientForHint(g_display, wnd, sw_parent->wnd);
3028                    else
3029                            warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);
3030            }
3031    
3032          /* FIXME: Support for Input Context:s */          /* FIXME: Support for Input Context:s */
3033    
# Line 3123  ui_seamless_setstate(unsigned long id, u Line 3126  ui_seamless_setstate(unsigned long id, u
3126          {          {
3127                  case SEAMLESSRDP_NORMAL:                  case SEAMLESSRDP_NORMAL:
3128                  case SEAMLESSRDP_MAXIMIZED:                  case SEAMLESSRDP_MAXIMIZED:
3129                          /* FIXME */                          XMapWindow(g_display, sw->wnd);
3130                          break;                          break;
3131                  case SEAMLESSRDP_MINIMIZED:                  case SEAMLESSRDP_MINIMIZED:
3132                          XIconifyWindow(g_display, sw->wnd, DefaultScreen(g_display));                          XIconifyWindow(g_display, sw->wnd, DefaultScreen(g_display));

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

  ViewVC Help
Powered by ViewVC 1.1.26