Seeker04 / plwm

An X11 window manager written in Prolog
MIT License
1 stars 0 forks source link

Mouse position and cursor when resizing windows #28

Open Seeker04 opened 7 months ago

Seeker04 commented 7 months ago

Similar to dwm, while we are resizing windows: (1) the mouse cursor should go to the bottom right corner of window that's being resized, (2) change the cursor icon.

For (2), start investigating from the following part of dwm:

/* init cursors */
cursor[CurNormal] = drw_cur_create(drw, XC_left_ptr);
cursor[CurResize] = drw_cur_create(drw, XC_sizing);
cursor[CurMove] = drw_cur_create(drw, XC_fleur);