diff options
author | ns <portification@gmail.com> | 2017-05-28 05:08:28 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-27 20:08:28 -0700 |
commit | b9ec141c927b333bfea5d8a285deedd164181dd8 (patch) | |
tree | 4e585aee9265f8da68d039ab33d396882455be3d /src/display.rs | |
parent | 0e4edc5420ee7e1d240980686ff0244d2627993d (diff) | |
download | alacritty-b9ec141c927b333bfea5d8a285deedd164181dd8.tar.gz alacritty-b9ec141c927b333bfea5d8a285deedd164181dd8.zip |
Find and set $WINDOWID to X11 window ID (#586)
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/display.rs b/src/display.rs index 20c2ce37..d8c10d18 100644 --- a/src/display.rs +++ b/src/display.rs @@ -335,4 +335,8 @@ impl Display { api.clear(); }); } + + pub fn get_window_id(&self) -> Option<usize> { + self.window.get_window_id() + } } |