summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-11-27 19:47:29 +0100
committerxengineering <me@xengineering.eu>2022-11-27 19:47:29 +0100
commit2550cae55865a1f87ae3ec7b71071994ff009c3b (patch)
tree56111cde4cb52d820da5f1cf38ac1057bb06180f /main.c
parent6e61e0041d46b73d9def181d39a08055cc01318b (diff)
downloadlimox-2550cae55865a1f87ae3ec7b71071994ff009c3b.tar
limox-2550cae55865a1f87ae3ec7b71071994ff009c3b.tar.zst
limox-2550cae55865a1f87ae3ec7b71071994ff009c3b.zip
Implement XMPP connect on SDL_MOUSEBUTTONDOWN
This removes xmpp_connect() from the main loop and delegates the calling to the GUI. This should be the case in the future.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index b86e911..a06abf0 100644
--- a/main.c
+++ b/main.c
@@ -5,7 +5,6 @@
#include <getopt.h>
#include "gui.h"
-#include "xmpp.h"
// configuration struct for all command line options
@@ -60,7 +59,6 @@ int main(int argc, char* argv[]) {
if (opts.unknown || opts.help) {
print_help();
} else {
- xmpp_connect();
gui_run();
}