From c378049bdd8be82bac50802fd5872f2a4bc1e2ca Mon Sep 17 00:00:00 2001 From: Taichi Gardener Date: Sat, 6 Jun 2020 00:56:39 -0400 Subject: [PATCH] [skip ci] enforce code format --- taichi/gui/x11.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/taichi/gui/x11.cpp b/taichi/gui/x11.cpp index 6b735c334c7203..3d15190c585e8d 100644 --- a/taichi/gui/x11.cpp +++ b/taichi/gui/x11.cpp @@ -126,7 +126,8 @@ void GUI::create_window() { wmDeleteMessage = std::vector(sizeof(Atom)); *(Atom *)wmDeleteMessage.data() = XInternAtom((Display *)display, "WM_DELETE_WINDOW", False); - XSetWMProtocols((Display *)display, window, (Atom *)wmDeleteMessage.data(), 1); + XSetWMProtocols((Display *)display, window, (Atom *)wmDeleteMessage.data(), + 1); XMapWindow((Display *)display, window); img = new CXImage((Display *)display, (Visual *)visual, width, height); }