Changeset 52231 in vbox for trunk/src/VBox/Additions/x11/VBoxClient/display.cpp
- Timestamp:
- Jul 29, 2014 7:54:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display.cpp
r52189 r52231 57 57 long *paSizeHints; 58 58 }; 59 60 /** Exit with a fatal error.61 * @todo Make this application global. */62 #define FatalError(format) \63 do { \64 char *pszMessage = RTStrAPrintf2 format; \65 LogRel(format); \66 doFatalError(pszMessage); \67 } while(0)68 69 static void doFatalError(char *pszMessage)70 {71 char *pszCommand;72 if (pszMessage)73 {74 pszCommand = RTStrAPrintf2("notify-send \"VBoxClient: %s\"",75 pszMessage);76 if (pszCommand)77 system(pszCommand);78 }79 exit(1);80 }81 59 82 60 /** Tell the VBoxGuest driver we no longer want any events and tell the host
Note:
See TracChangeset
for help on using the changeset viewer.