git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commit3daf39b75a26f6a09c98e38edb20ea0d603e4852
parent0045ac4433
authorLucas Galante <[email protected]>
date2026-07-16 20:21
refactor: drop the csd_titlebar_move override; the default is now opt-in

cce-ui's implicit title-bar move band is now off by default, so the
designer no longer needs to opt out.

Co-Authored-By: Claude Fable 5 <[email protected]>

 src/application.rs | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/application.rs b/src/application.rs
index 5bb5388..892df41 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -316,13 +316,6 @@ impl Application for State {
         !self.is_detached_network
     }
 
-    /// No title bar to grab, so the window is not implicitly draggable. Moving it is reserved
-    /// for explicitly-declared drag handles (a title bar or panel), of which there are none
-    /// yet — see `is_movable_backplate_at` (left at its `false` default).
-    fn csd_titlebar_move(&self) -> bool {
-        false
-    }
-
     fn cursor_icon(&self, x: f32, y: f32) -> Option<CursorIcon> {
         if !self.is_detached_network {
             return None;