Keyboard/Touchpad not recognized by X software

2020-12-18 Thread Ivan
They work just find in FreeBSD, but fail to get recognized by X11. I got Xfce4 to run and all, but I have to use the power button to shutdown and go back the FreeBSD command prompt. These are the relevant lines in /var/log/Xorg.0.log: 9102.753config/udev: Adding input device AT keyboar

XGetWindowAttributes to get the cursor?

2020-11-04 Thread Ivan Svirid
So XSetWindowAttributes allows you to set the cursor on the window, basically this is the hardware cursor when your mouse enters the window that is displayed. Is there a way to readback this value from an existing window? Or perhaps another workaround to get the cursor on a specific window? I am

Re: XGetWindowAttributes to get the cursor?

2020-11-19 Thread Ivan Svirid
xtest.html > > See XTestCompareCursor function > Le 04/11/2020 à 19:25, Ivan Svirid a écrit : > > So XSetWindowAttributes allows you to set the cursor on the window, > basically this is the hardware cursor when your mouse enters the window > that is displayed. > > Is there a way t

Re: XGetWindowAttributes to get the cursor?

2020-11-20 Thread Ivan Svirid
. > Le 20/11/2020 à 12:42, Lucien Gentis a écrit : > > You can write a function which uses XTestCompareCursor in a switch which > tests known cursor id (top_left_corner, h_double_arrow,...) > Le 19/11/2020 à 19:59, Ivan Svirid a écrit : > > Yea but this only returns true/false

Re: XGetWindowAttributes to get the cursor?

2020-11-20 Thread Ivan Svirid
Lucien Gentis < lucien.gen...@univ-lorraine.fr> wrote: > Don't you know the ID of your custom pixmap cursors ? > > If you do, you can add them to the cases of the switch. > Le 20/11/2020 à 15:22, Ivan Svirid a écrit : > > Yea but this does not work with custom pixmap curso

Re: XGetWindowAttributes to get the cursor?

2020-11-21 Thread Ivan Svirid
> could be your 3rd party app window. > > Sorry, but I can't help you more. > > Lucien > Le 20/11/2020 à 19:22, Ivan Svirid a écrit : > > The whole point is a random 3rd party app makes a custom pixmap cursor, > and I was wondering if there is a call to retrieve &g

xfontsel unconventional PRIMARY clipping

2021-12-10 Thread Ivan Bogush
such behaviour. Thanks, Ivan

xfontsel PRIMARY clipping bug

2021-12-10 Thread Ivan Bogush
`. Certain programs like xterm, gvim , and leafpad are able to read PRIMARY however, and other 'classic' X tools like Xedit do not exhibit this behaviour, so I believe there is a bug in the select button code in xfontsel. Thanks, Ivan

2 and more keyboard layout groups in Linux changed by different hot keys

2012-11-15 Thread Ivan Lezhnjov IV
So, this is something I've been dreaming of for years now. I've sporadically foraged for a solution on Google but never really found anything. I was told once by someone on IRC that it's possible but have never really seen how this could be done. Here's what I want. I use en and ru keyboard layou