Skip to content

Commit a0cc3d8

Browse files
committed
Fix issue with application crashing when using screenshot portal
1 parent 017dc58 commit a0cc3d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,22 @@ case $1 in
8585
;;
8686
"run")
8787
initialize 0
88-
./com.github.phase1geo.annotator "${@:2}"
88+
GDK_BACKEND=x11 ./com.github.phase1geo.annotator "${@:2}"
8989
;;
9090
"run-emmet")
9191
initialize 1
9292
./com.github.phase1geo.annotator "${@:2}"
9393
;;
9494
"debug")
9595
initialize 0
96-
G_DEBUG=fatal-criticals gdb --args ./com.github.phase1geo.annotator "${@:2}"
96+
G_DEBUG=fatal-criticals GDK_BACKEND=x11 gdb --args ./com.github.phase1geo.annotator "${@:2}"
9797
;;
9898
"test")
9999
test
100100
;;
101101
"test-run")
102102
test
103-
./com.github.phase1geo.annotator "${@:2}"
103+
GDK_BACKEND=x11 ./com.github.phase1geo.annotator "${@:2}"
104104
;;
105105
"uninstall")
106106
initialize 0

0 commit comments

Comments
 (0)