Re: [dev] Problem with windows name

2023-07-10 Thread Dr . André Desgualdo Pereira
oding == XA_STRING) { > + strncpy(text, (char *)name.value, size - 1); > + } else */ > + if (w == DefaultRootWindow(dpy)) { > strncpy(text, (char *)name.value, size - 1); > } else if (XmbTextPropertyToTextList(dpy, , , ) >= Success > &am

[dev] Problem with windows name

2023-07-09 Thread Dr . André Desgualdo Pereira
# The Problem: dwm status bar fails to display the name of Libreoffice and OpenOffice windows # Conditions (when it happens): 1) Debian 12 (previous Debian worked fine) 2) The file name must contain a latin character (one of these: áâãéíóôúç) and NOT contain other

Re: [dev] Help to debug window name with special characters

2023-07-07 Thread Dr . André Desgualdo Pereira
letters like ã,á,é,ó, etc) or if it doens't contains any of those latin letters. Even with no _NET_WM_NAME setted. On 05/07/2023 21:40, NRK wrote: > On Wed, Jul 05, 2023 at 08:11:39AM -0300, Dr. André Desgualdo Pereira wrote: > > Also xprop show the window name correctly, but wmctrl

Re: [dev] Help to debug window name with special characters

2023-07-07 Thread Dr . André Desgualdo Pereira
r example: if a window > > name is "André Desgualdo Pereira" it will show only "Andr"). > > Everyone knows that special characters are bloat, duh. Your system must use > only use ASCII. > > (sarcasm) > > -- > Nikita > -- Dr. André Desgualdo

Re: [dev] Help to debug window name with special characters

2023-07-06 Thread Dr . André Desgualdo Pereira
dr\303\251 Desgualdo Pereira.odt - OpenOffice Writer" On 05/07/2023 21:40, NRK wrote: > On Wed, Jul 05, 2023 at 08:11:39AM -0300, Dr. André Desgualdo Pereira wrote: > > Also xprop show the window name correctly, but wmctrl shows "N/A". > > You might want to share the ful

Re: [dev] Help to debug window name with special characters

2023-07-05 Thread Dr . André Desgualdo Pereira
map id # to use for icon: 0xe0825f bitmap id # of mask for icon: 0xe08260 window id # of group leader: 0xe08248 XdndAware(ATOM) = BITMAP I upgraded my machine to Debian 12, unfortunatelly I can't test it back on Debian 11. desgua On 05/07/2023 21:40, NRK wrote: >

[dev] Help to debug window name with special characters

2023-07-05 Thread Dr . André Desgualdo Pereira
I would really appreciate some help on debugging a problem on displaying certain windows names. Some window name are incomplete on dwm status (screenshot attached). The name is "cut" after the first special character (for example: if a window name is "André Desgualdo Pereira" it will show only

[dev] About DWM Swapfocus patch

2022-11-02 Thread Dr . André Desgualdo Pereira
The swapfocus patch works as intended when we have changed the focus on the same tag. But when coming from another tag, the swapfocus does nothing. Example: suppose the focus is on a window at tag 2, then I manyally focus another window on another tag (say 3). Now if I try to swapfocus (Mod+S)