WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: fktk1.3 mouse cursor for window corners has mising shape  (Read 3005 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 769
fktk1.3 mouse cursor for window corners has mising shape
« on: June 28, 2015, 09:14:09 AM »
In flwm/ fltk 1.10,  used in core 4.x and 5.x, the mose auto change its shape in a oblique arrow line when the mouse is on a window corner. But in the new fltk 1.3 the mouse does not show this behavior, so it is VERY hard to grab the corner of any window to resize.

I think this is in both 32 and 64 bits versions, and both normal/top-side window title.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 769
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #1 on: January 19, 2023, 06:48:50 AM »
Any chances for the new Tinycore 14 to have a FLWM (the Fast Light Window Manager) with different shape-cursor-corners (versus edge shape cursor), same as it was initially (long time ago)?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10863
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #2 on: January 19, 2023, 09:28:36 AM »
It may be you're the only one who cares about this issue - in which case it will happen if you do it.
The only barriers that can stop you are the ones you create yourself.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 769
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #3 on: January 19, 2023, 09:50:39 AM »
Nice, thanks for the quick answer. So I think that I will grab it from older TC versions; even any JWM (ver 1.x, 2.x) has this feature. I resurrected this subject just because 1500+ views of the topic. ;)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10812
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #4 on: January 20, 2023, 10:37:45 PM »
Hi nick65go
Turns out I care about this issue too, so I decided to spend some time looking
into it. The code to set the cursor to a diagonal double arrow is still present in
flwm.  I ran strace on the cursor test program in fltk-1.3.5 and even though it
requested a diagonal cursor the library loaded the default cursor instead. It
appears the diagonal cursors are compiled into the library yet it acted like
they were not present and loaded the fallback cursor instead.

I recompiled fltk-1.3.5 with  xcursor  enabled and the diagonal cursors worked
again.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 769
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #5 on: January 21, 2023, 04:23:45 AM »
@Rich: Thanks for the good news! Please indicate which version of TC (13 or 14) and which bits (32 or 64). Because is not yet in any https://mirrors.dotsrc.org/tinycorelinux/{13;14}.x/x86(_64)/tcz/updates/updatelist.txt.
PS: I won you a (physical) beer, really. In the mean time a virtual one with my compliments  :-*

EDIT: it seams that the latest FLTK is 1.3.8 for TC version >= 13.
« Last Edit: January 21, 2023, 04:39:49 AM by nick65go »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10812
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #6 on: January 28, 2023, 09:07:00 PM »
Hi nick65go
TC10 through TC14, both x86 and x86_64 are version 1.3.8 and have diagonal
mouse cursors on window corners.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 769
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #7 on: February 15, 2023, 12:57:10 PM »
Hi nick65go
TC10 through TC14, both x86 and x86_64 are version 1.3.8 and have diagonal
mouse cursors on window corners.
Thank you Rich.
I loaded fltk-xft, because it has double size for margins, and it has bold-er font by default.
But this means I will lose mouse corners for windows. Could I (we) have also the re-compiled fltk-xft?
« Last Edit: February 15, 2023, 01:01:00 PM by nick65go »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10812
Re: fktk1.3 mouse cursor for window corners has mising shape
« Reply #8 on: February 15, 2023, 08:08:11 PM »
Hi nick65go
fltk-xft  is maintained by  polikuo.  Lets see what he says.

To enable mouse corners,  --enable-xcursor  in  ./configure  and recompile.
libXcursor  is already a dependency for xorg, xvesa, xfbdev, flwm. gtk2, gtk3, ...
The cursors that depend on  libXcursor  are compiled into fltk even with  --disable-xcursor.
I saw no increase in extension size with  --enable-xcursor.