diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemX11.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index c9946c13122..aeda95d5d4d 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -310,6 +310,7 @@ createWindow(const STR_String& title, left, top, width, height, state, parentWindow, type, ((glSettings.flags & GHOST_glStereoVisual) != 0), exclusive, + ((glSettings.flags & GHOST_glAlphaBackground) != 0), glSettings.numOfAASamples, (glSettings.flags & GHOST_glDebugContext) != 0); if (window) { @@ -419,8 +420,7 @@ static Bool init_timestamp_scanner(Display *, XEvent *event, XPointer arg) { init_timestamp_data *data = reinterpret_cast<init_timestamp_data *>(arg); - switch (event->type) - { + switch (event->type) { case ButtonPress: case ButtonRelease: data->timestamp = event->xbutton.time; @@ -1963,8 +1963,7 @@ int GHOST_X11_ApplicationIOErrorHandler(Display * /*display*/) static bool match_token(const char *haystack, const char *needle) { const char *p, *q; - for (p = haystack; *p; ) - { + for (p = haystack; *p; ) { while (*p && isspace(*p)) p++; if (!*p) |