Re: [e-users] Mouse cursor size

Carsten Haitzler <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>
On Tue, 10 Jan 2023 16:20:46 -0300 Wido <[email protected]> said:

> Hi Carsten! I appreciate that you always take the time to respond to users
> :)
> 
> > E has its own cursors that uses the efl/e theme
> I know, I tried, I actually notice the "same behaviour". EFL mouse on some
> apps, X mouse on other apps (I just tried, sublime uses E theme, chrome and
> kde uses X theme)

pointers work like this:

all windows in x inherit the pointer from their parent window. e sets a pointer
on the root window. thus apps will inherit this pointer unless they override it
themselves and set a new pointer on their own window(s). nothing the wm can do
about this. so apps that don't override will just inherit whatever e sets.
otherwise they are on their own and set their own pointers.

> > if you use something else then "you're mileage may vary"
> I guess that is understandable, but would it be possible to have some
> hints/idea/helps on how to define this for a consistent env? Again, I am
> aware this is probably out of E's scope, but it _feels_ like as a DE you
> actually should care. As I user, I _expect_ the DE to own the cursor theme
> in one way on another.

it's not possible. any app can set any pointer they like at any time on any
window. there are x cursor themes that many apps use - these are limited and
e/efl do not use them because of that (e.g. the animations that e does in
pointers to show the resize direction or moving animation or the blue flash
when you click are not possible via x cursor themes as they are simple static
images OR a series of N images that loop. as these are limited and thus can't
do things like also adapt to color palette changes, scaling like  efl does it ,
e pretty much doesn't bother much due to it being so limited. you can set an x
cursor theme yourself and go find something and set that with environment
variables, .Xdefaults files etc.

> Emphasis on the words that are probably the most debatable.
> 
> El lun, 9 ene 2023 a la(s) 18:14, Carsten Haitzler ([email protected])
> escribió:
> 
> > On Mon, 9 Jan 2023 11:45:51 -0300 Wido <[email protected]> said:
> >
> > > Happy new year! I'm having an issue with cursor theme/size.
> > >
> > > I'm not using E's theme, I have selected `application` in settings ->
> > mouse
> > > -> e theme. Then, I have configured my mouse theme and size in KDE system
> > > settings -> appearance cursors. My current cursor size is 24.
> > >
> > > The problem I have is that some applications respect my cursor size, and
> > > others do not, and I don't understand the pattern:
> > >
> > > * Enlightenment and EFL uses size 36
> >
> > E has its own cursors that uses the efl/e theme. if you use something else
> > then
> > "you're mileage may vary". efl's cursors will scale based on scale factor.
> > there is no good reason to set cursor size as pointers will follow the same
> > scale factor as everything else.
> >
> > > * Dolphin (kde file explorer) uses size 24
> > > * Sublime (gtk3?) uses size 36
> > > * Chrome (gtk3?) uses size 24
> > >
> > > I tried modifying gtk configfiles in my home, but without success.
> > >
> > > I know this probably is not an E issue and rather a gtk issue, but given
> > > that it _apperas_ like E is following different cursors, I thought this
> > > would be first place to _start_ asking.
> > >
> > > Thanks!
> > >
> > > --
> > > Wido
> > >
> > > _______________________________________________
> > > enlightenment-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > Carsten Haitzler - [email protected]
> >
> >
> 
> -- 
> Wido


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - [email protected]



_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.