Changeset 8067 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Apr 16, 2008 7:30:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/x11.cpp
r8043 r8067 45 45 #include <X11/Shell.h> 46 46 #include <X11/Xproto.h> 47 #include <X11/StringDefs.h> 47 48 48 49 /** The different clipboard formats which we support. */ … … 688 689 char *pcArgv = 0; 689 690 int rc = VINF_SUCCESS; 690 static String szFallbackResources[] = { (char*)"*.width: 1", (char*)"*.height: 1", NULL };691 // static String szFallbackResources[] = { (char*)"*.width: 1", (char*)"*.height: 1", NULL }; 691 692 Display *pDisplay; 692 693 LogRel (("vboxClipboardThread: starting clipboard thread\n")); … … 699 700 XtToolkitInitialize(); 700 701 g_ctx.appContext = XtCreateApplicationContext(); 701 XtAppSetFallbackResources(g_ctx.appContext, szFallbackResources);702 // XtAppSetFallbackResources(g_ctx.appContext, szFallbackResources); 702 703 pDisplay = XtOpenDisplay(g_ctx.appContext, 0, 0, "VBoxClipboard", 0, 0, &cArgc, &pcArgv); 703 704 if (pDisplay == 0) … … 706 707 return VERR_NOT_SUPPORTED; 707 708 } 708 g_ctx.widget = Xt AppCreateShell(0, "VBoxClipboard", applicationShellWidgetClass, pDisplay,709 0, 0);709 g_ctx.widget = XtVaAppCreateShell(0, "VBoxClipboard", applicationShellWidgetClass, pDisplay, 710 XtNwidth, 1, XtNheight, 1, NULL); 710 711 if (g_ctx.widget == 0) 711 712 {
Note:
See TracChangeset
for help on using the changeset viewer.