diff options
author | fiaxh <git@lightrise.org> | 2019-02-20 23:08:30 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-03-14 17:39:31 +0100 |
commit | 161e4c19862be0ea6572f7701d37acc1c16b8147 (patch) | |
tree | 99c79a52371dd7a1424617045ea849b8977b039f /main/src/ui/util | |
parent | cc7b0aa7bd5b6599159f654fdd8a2fd111e16a3e (diff) | |
download | dino-161e4c19862be0ea6572f7701d37acc1c16b8147.tar.gz dino-161e4c19862be0ea6572f7701d37acc1c16b8147.zip |
Add non-CSD alternative for more windows
Diffstat (limited to 'main/src/ui/util')
-rw-r--r-- | main/src/ui/util/helper.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index 5feda242..de05d753 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -265,7 +265,7 @@ public int get_only_emoji_count(string markup_text) { } public bool use_csd() { - return Environment.get_variable("GTK_CSD") != "0"; + return (GLib.Application.get_default() as Application).use_csd(); } } |