@@ -295,7 +295,7 @@ void monitor_handle_workspace_context_change(hyprlax_context_t *ctx,
295295 /* Calculate 2D offset for 2D models */
296296 offset_2d = workspace_calculate_offset_2d (& monitor -> current_context ,
297297 new_context ,
298- monitor -> config ? monitor -> config -> shift_pixels : 200 .0f ,
298+ monitor -> config ? monitor -> config -> shift_pixels : 100 .0f ,
299299 NULL );
300300 if (ctx && ctx -> config .debug ) {
301301 fprintf (stderr , "[DEBUG] Using 2D offset calculation\n" );
@@ -304,7 +304,7 @@ void monitor_handle_workspace_context_change(hyprlax_context_t *ctx,
304304 /* Calculate 1D offset for linear models */
305305 offset_1d = workspace_calculate_offset (& monitor -> current_context ,
306306 new_context ,
307- monitor -> config ? monitor -> config -> shift_pixels : 200 .0f ,
307+ monitor -> config ? monitor -> config -> shift_pixels : 100 .0f ,
308308 NULL );
309309 offset_2d .x = offset_1d ;
310310 offset_2d .y = 0.0f ;
@@ -349,7 +349,7 @@ void monitor_handle_workspace_context_change(hyprlax_context_t *ctx,
349349 int from_ws = old_context .data .workspace_id ;
350350 int to_ws = new_context -> data .workspace_id ;
351351 int delta_ws = to_ws - from_ws ;
352- float step = (monitor -> config ? monitor -> config -> shift_pixels : 200 .0f );
352+ float step = (monitor -> config ? monitor -> config -> shift_pixels : 100 .0f );
353353 float base_x = monitor -> animating ? monitor -> animation_target_x : monitor -> parallax_offset_x ;
354354 absolute_target_x = base_x + delta_ws * step ;
355355 absolute_target_y = 0.0f ;
0 commit comments