Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemX11.cpp')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index 5a145510e54..0d19c3b230d 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -233,11 +233,8 @@ createWindow(
);
if (window) {
-
- // Install a new protocol for this window - so we can overide
- // the default window closure mechanism.
-
- XSetWMProtocols(m_display, window->getXWindow(), &m_delete_window_atom, 1);
+ // Both are now handle in GHOST_WindowX11.cpp
+ // Focus and Delete atoms.
if (window->getValid()) {
// Store the pointer to the window