git.lucas.co / cce-gallery
widget gallery and compositor test bench

commit34b4aa00a67cfe8c1563f24e9087edfc429e257e
parent2719af1574
authorLucas Galante <[email protected]>
date2026-07-04 19:39
Include page selector dropdown index 45 in motion event and tick visibility filters

 src/main.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 74afed1..7c189cd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1082,7 +1082,7 @@ cascades in cce."
                 }
             } else {
                 match index {
-                    0..=2 => true,
+                    0..=2 | 45 => true,
                     3..=13 | 30 | 31 | 36 | 37 => current_page == Page::Controls,
                     14..=29 | 38..=44 => current_page == Page::Windows,
                     32..=35 => current_page == Page::Xdg,
@@ -1491,7 +1491,7 @@ impl PointerHandler for AppState {
                                     }
                                 } else {
                                     match index {
-                                        0..=2 => true,
+                                        0..=2 | 45 => true,
                                         3..=13 | 30 | 31 | 36 | 37 => current_page == Page::Controls,
                                         14..=29 | 38..=44 => current_page == Page::Windows,
                                         32..=35 => current_page == Page::Xdg,