diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-12-27 23:28:43 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-12-27 23:28:43 -0300 |
commit | f7a827971f436d9d493cff9ecb7fe91958f71be1 (patch) | |
tree | ab8c897439934b81e038846314c65ad626928911 /src/socket.rs | |
parent | 312a8f2e5832c06fcd228acee4945b3236841ee1 (diff) | |
download | dotwm-f7a827971f436d9d493cff9ecb7fe91958f71be1.tar.gz |
Fix some problems @ removing a window.
When we wanted to remove the window idx 0 within the list. the current
index went to usize::max_value always. This add a check for the case when
we have more than one window and removes the window 0.
Diffstat (limited to 'src/socket.rs')
0 files changed, 0 insertions, 0 deletions