/[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 1133 by astrand, Wed Mar 15 13:15:51 2006 UTC revision 1140 by ossman_, Wed Mar 15 15:27:24 2006 UTC
# Line 3062  ui_seamless_create_window(unsigned long Line 3062  ui_seamless_create_window(unsigned long
3062                              CWBorderPixel, &attribs);                              CWBorderPixel, &attribs);
3063    
3064          XStoreName(g_display, wnd, "SeamlessRDP");          XStoreName(g_display, wnd, "SeamlessRDP");
3065            ewmh_set_wm_name(wnd, "SeamlessRDP");
3066    
3067          mwm_hide_decorations(wnd);          mwm_hide_decorations(wnd);
3068    
# Line 3083  ui_seamless_create_window(unsigned long Line 3084  ui_seamless_create_window(unsigned long
3084                  XFree(sizehints);                  XFree(sizehints);
3085          }          }
3086    
3087            /* Handle popups without parents through some ewm hints */
3088            if (parent == 0xFFFFFFFF)
3089                    ewmh_set_window_popup(wnd);
3090          /* Set WM_TRANSIENT_FOR, if necessary */          /* Set WM_TRANSIENT_FOR, if necessary */
3091          if (parent)          else if (parent != 0x00000000)
3092          {          {
3093                  sw_parent = seamless_get_window_by_id(parent);                  sw_parent = seamless_get_window_by_id(parent);
3094                  if (sw_parent)                  if (sw_parent)
# Line 3093  ui_seamless_create_window(unsigned long Line 3097  ui_seamless_create_window(unsigned long
3097                          warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);                          warning("ui_seamless_create_window: No parent window 0x%lx\n", parent);
3098          }          }
3099    
3100    
3101          /* FIXME: Support for Input Context:s */          /* FIXME: Support for Input Context:s */
3102    
3103          get_input_mask(&input_mask);          get_input_mask(&input_mask);
# Line 3189  ui_seamless_settitle(unsigned long id, c Line 3194  ui_seamless_settitle(unsigned long id, c
3194                  return;                  return;
3195          }          }
3196    
3197            /* FIXME: Might want to convert the name for non-EWMH WMs */
3198          XStoreName(g_display, sw->wnd, title);          XStoreName(g_display, sw->wnd, title);
3199            ewmh_set_wm_name(sw->wnd, title);
3200  }  }
3201    
3202    

Legend:
Removed from v.1133  
changed lines
  Added in v.1140

  ViewVC Help
Powered by ViewVC 1.1.26