You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
main: add ATL_FORCE_FULLSCREEN env
This commit is contained in:
@@ -350,6 +350,9 @@ static void open(GtkApplication *app, GFile** files, gint nfiles, const gchar* h
|
||||
if(getenv("ATL_DISABLE_WINDOW_DECORATIONS"))
|
||||
gtk_window_set_decorated(GTK_WINDOW(window), 0);
|
||||
|
||||
if(getenv("ATL_FORCE_FULLSCREEN"))
|
||||
gtk_window_fullscreen(GTK_WINDOW(window));
|
||||
|
||||
gtk_window_present(GTK_WINDOW(window));
|
||||
|
||||
// construct Application
|
||||
|
||||
Reference in New Issue
Block a user