diff options
Diffstat (limited to 'main/src/ui/util/helper.vala')
-rw-r--r-- | main/src/ui/util/helper.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index 406a879e..5feda242 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -264,4 +264,8 @@ public int get_only_emoji_count(string markup_text) { return emoji_no; } +public bool use_csd() { + return Environment.get_variable("GTK_CSD") != "0"; +} + } |