aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index 2c760524..6c71048b 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -342,7 +342,6 @@ int main(int argc, char **argv) {
log_kernel();
log_distro();
log_env();
- detect_proprietary(allow_unsupported_gpu);
if (optind < argc) { // Behave as IPC client
if (optind != 1) {
@@ -369,6 +368,8 @@ int main(int argc, char **argv) {
return 0;
}
+ detect_proprietary(allow_unsupported_gpu);
+
if (!server_privileged_prepare(&server)) {
return 1;
}