summaryrefslogtreecommitdiff
path: root/src/safe_x11/event.rs
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-12-27 23:28:43 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-12-27 23:28:43 -0300
commitf7a827971f436d9d493cff9ecb7fe91958f71be1 (patch)
treeab8c897439934b81e038846314c65ad626928911 /src/safe_x11/event.rs
parent312a8f2e5832c06fcd228acee4945b3236841ee1 (diff)
downloaddotwm-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/safe_x11/event.rs')
0 files changed, 0 insertions, 0 deletions