Re: bytes_after_return in XGetWindowProperty man pages

2024-10-15 Thread Julian Bradfield
On 2024-10-13, Peter Kozich (GM) wrote: > Everywhere in all manuals on XGetWindowProperty() I see these formulas: > > N = actual length of the stored property in bytes > (even if the format is 16 or 32) > I = 4 * long_offset >

BadAlloc insufficient resources in X_OpenFont

2022-02-15 Thread Julian Bradfield
>From time to time I get this error in my xemacs running on Ubuntu 20.04 at work. I use a lot of large core fonts, and I can imagine that there may be some anciently-sized limit on the amount of memory the server uses for core fonts. Or possibly there is some problem with one of the fonts. However

key "stuck down" after sendevent

2022-04-10 Thread Julian Bradfield
I have a puzzling (to me) observation. In the course of marking lots of exercise, I'm doing, repeatedly, mupdf -geometry +0+0 *.pdf & emacs q3.txt ; sleep 0.1; xdotool search .pdf key q The purpose of the xdotool is so that mupdf receives a quit command and saves its history file, rather than

Re: key "stuck down" after sendevent

2022-04-11 Thread Julian Bradfield
Peter Hutterer : >xdotool (from a quick check of the source) either sends key codes for the key >through the X Test device (if the target window is in focus) or uses >XSendEvent() to send to some arbitrary other window not in focus [1]. > >If you end up with XTest for the key down and then for some

Re: Slow rendering when GC.line_style = LineOnOffDash

2022-12-03 Thread Julian Bradfield
On 2022-12-03, Farrington, Paul wrote: > We’ve noticed that XDrawRectangle where the GC.line_style is LineOnOffDash has > gotten slower in recent X Server releases. We’ve observed this on both Linux > RH8 and FBSD 11.4 and above. There are two sample programs pasted below, one > which draws 5 rect

Re: TWm and Fonts

2023-04-12 Thread Julian Bradfield
On 2023-04-12, Graham Bentley wrote: > Hopefully I am posting to the right place with a TWM question? Gosh, that takes me back ... about 35 years! > It's about fonts used in the menu's and titles etc. > > I have entered font definitions in my .twmrc in the format as follows > (as seen in xfontse

Re: TWm and Fonts

2023-04-12 Thread Julian Bradfield
On 2023-04-12, David Howorth wrote: > On Wed, 12 Apr 2023 15:22:35 +0100 (BST) > Julian Bradfield wrote: > >> On 2023-04-12, Graham Bentley wrote: >> > Hopefully I am posting to the right place with a TWM question? >> >> Gosh, that takes me back ... about

Re: Xlib: DisplayWidth / DisplayHeight

2023-08-30 Thread Julian Bradfield
On 2023-08-30, Zbigniew wrote: >„The DisplayHeight macro returns the height of the specified screen > in >pixels. > >The DisplayWidth macro returns the width of the screen in pixels.” > > This is what I want, and this is what — as „man” page states — I > should get, rega

Re: Xlib: DisplayWidth / DisplayHeight

2023-09-05 Thread Julian Bradfield
Could I suggest that further engagement with Zbigniew on-list is a waste of everybody's time? He's either incapable of understanding the basics and/or knowing what he actually wishes to achieve, or is wilfully refusing to understand in order to troll us. Either way, we're not going to get any furt

Re: Window id of xterm started

2024-02-12 Thread Julian Bradfield
On 2024-02-10, Riza Dindir wrote: > I am starting xterm in my xinitrc. Is it possible to get the window id of > that xterm? I usually do the trick already mentioned of giving it an identifying title or name, and looking for that. However, since it's xterm, you can do something like xterm -e 'ec

Re: [synaptics] Require minimal finger move for moving cursor

2024-04-12 Thread Julian Bradfield
On 2024-04-12, kaycee gb wrote: > Hi, > > I have a "crappy" touchpad on my dell laptop that drives me crazy. I am > unable to fix the sensitivity/jump problems when clicking. I tried different > things. Sometimes it seems to help/make the jumps less present but not really > for a long time. > > T

Re: events, mouse button 2 possible bug?

2024-07-10 Thread Julian Bradfield
On 2024-07-10, Steven J Abner wrote: > So created the event loop but in the handling of events I came upon an > oddity. I wrote xcb, no response, so assume this is a bug because of > response. > The event sequence for button 2 mouse press: > window 83886080, LEAVE_NOTIFY (623,112) > window 8388

Re: events, mouse button 2 possible bug?

2024-07-10 Thread Julian Bradfield
For the button press, I see just window 102760448, BUTTON_PRESS Button 2 modifier 0 (411,82) window 102760448, BUTTON_RELEASE Button 2 modifier 512 (411,82) as expected. For debugging events, I sometimes find it useful to fire up an Xvnc with no clients except the one I'm debugging, so I know th