- Timestamp:
- Jul 3, 2009 2:22:16 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r20552 r21207 78 78 || $(CP_EXT) -f `$(TOOL_$(VBOX_GCC_TOOL)_CXX) $(TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS.$(KBUILD_TARGET_ARCH)) -print-file-name=libstdc++.a` $@ 79 79 80 ifdef VBOX_X11_SEAMLESS_GUEST 81 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) 82 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 80 83 81 ifdef VBOX_X11_SEAMLESS_GUEST 82 ifdef VBOX_WITH_TESTCASES 83 ifndef VBOX_ONLY_ADDITIONS 84 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service 85 # to automatically run the unit test at build time. 86 # OTHERS += $(PATH_tstSeamlessX11-auto)/tstSeamlessX11-auto.run 87 88 PROGRAMS += tstSeamlessX11-auto 89 tstSeamlessX11-auto_TEMPLATE = VBOXR3TSTEXE 90 tstSeamlessX11-auto_SOURCES = \ 91 testcase/tstSeamlessX11-auto.cpp \ 92 seamless-x11.cpp 93 tstSeamlessX11-auto_DEFS = TESTCASE 94 tstSeamlessX11-auto_LIBS = \ 95 $(LIB_RUNTIME) 96 97 TESTING += $(PATH_tstSeamlessX11-auto)/tstSeamlessX11-auto 98 $$(PATH_tstSeamlessX11-auto)/tstSeamlessX11-auto.run: \ 99 $$(INSTARGET_tstSeamlessX11-auto) 100 export VBOX_LOG_DEST=nofile; $(INSTARGET_tstSeamlessX11-auto) quiet 101 $(QUIET)$(APPEND) -t "$@" "done" 102 84 103 # 85 104 # Additional testcase designed to be run manually, which initiates and starts the Linux -
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r8155 r21207 37 37 #include <limits.h> 38 38 39 /* This is defined wrong in my X11 header files! */ 40 #define VBoxShapeNotify 64 39 #ifdef TESTCASE 40 #undef DefaultRootWindow 41 #define DefaultRootWindow XDefaultRootWindow 42 #endif 41 43 42 44 /***************************************************************************** -
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.h
r12916 r21207 37 37 #define WM_TYPE_PROP "_NET_WM_WINDOW_TYPE" 38 38 #define WM_TYPE_DESKTOP_PROP "_NET_WM_WINDOW_TYPE_DESKTOP" 39 40 /* This is defined wrong in my X11 header files! */ 41 #define VBoxShapeNotify 64 39 42 40 43 /** … … 288 291 289 292 // Private methods 290 291 // Methods to handle X11 events292 void doConfigureEvent(const XConfigureEvent *event);293 void doMapEvent(const XMapEvent *event);294 void doUnmapEvent(const XUnmapEvent *event);295 void doShapeEvent(const XShapeEvent *event);296 293 297 294 // Methods to manage guest window information … … 350 347 bool interruptEvent(void); 351 348 349 /* Methods to handle X11 events. These are public so that the unit test 350 * can call them. */ 351 void doConfigureEvent(const XConfigureEvent *event); 352 void doMapEvent(const XMapEvent *event); 353 void doUnmapEvent(const XUnmapEvent *event); 354 void doShapeEvent(const XShapeEvent *event); 355 352 356 VBoxGuestSeamlessX11(void) 353 357 {
Note:
See TracChangeset
for help on using the changeset viewer.