feat: add expose all windows and Alt-drag window manipulation

feat: improve maximize behavior with floating state and constraints
feat: enhance resize cursors and edge detection
This commit is contained in:
2026-02-16 01:24:05 +00:00
parent 2c8bc73cfd
commit 2dc7be8922
28 changed files with 249 additions and 29 deletions
+12
View File
@@ -125,6 +125,7 @@ struct Client {
char title[256];
char class[64];
SnapConstraint snap;
bool floating_before_maximize;
unsigned long taskbar_color;
ColorAnimation title_anim;
TextGlowAnimation text_glow;
@@ -219,6 +220,17 @@ typedef struct {
int last_mouse_x;
int last_mouse_y;
bool mouse_tracking_initialized;
Cursor cursor_default;
Cursor cursor_resize_top_left;
Cursor cursor_resize_top_right;
Cursor cursor_resize_bottom_left;
Cursor cursor_resize_bottom_right;
Cursor cursor_resize_left;
Cursor cursor_resize_right;
Cursor cursor_resize_top;
Cursor cursor_resize_bottom;
Cursor cursor_move;
} DWNState;
#define PHASE_OFFSET_PANEL_BG 0.0f
+1
View File
@@ -100,6 +100,7 @@ void key_resize_window_up(void);
void key_resize_window_down(void);
void key_set_mark(void);
void key_goto_mark(void);
void key_expose_all(void);
void tutorial_start(void);
void tutorial_stop(void);