Re: [dev] Problem with windows name

2023-07-10 Thread Dr . André Desgualdo Pereira
Thank you so much Страхиња Радић! This works perfectly. André. On 10/07/2023 9:35, Страхиња Радић wrote: > I managed to fix root window title being shown incorrectly by skipping > conversion only for root window. I attached a patch with this message. Feel > free to review it, I will make any

Re: [dev] Problem with windows name

2023-07-10 Thread Страхиња Радић
I managed to fix root window title being shown incorrectly by skipping conversion only for root window. I attached a patch with this message. Feel free to review it, I will make any necessary corrections. From c5b399e138f6873e2eb9a292d55c5382e654f074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
Adding to gettextprop in dwm.c: // ... if (!XGetTextProperty(dpy, w, &name, atom) || !name.nitems) return 0; FILE* log = fopen("/home/user/dwm.log", "at"); fprintf(log, "---\n"); fprintf(log, "atom = {%lu}\n", atom); f

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
I debugged dwm, adding to drw.c: static void log_msg(const char* fmt, ...) { char buf[4096]; va_list args; va_start(args, fmt); vsnprintf(buf, sizeof(buf), fmt, args); va_end(args);

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
On 23/07/09 08:43AM, Dr. André Desgualdo Pereira wrote: > # xprop > xprop shows the correct name, but it doesn't has the _NET_WM_NAME defined as > it used to have on Debian 11 and before (I guess it is because missing > library > tkinter for python2.7). > Example: WM_NAME(STRING) = "André Desgua

[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