While trying to build xfwm4 with DEBUG_TRACE enabled, I hit the following issue:
In file included from /home/disciple/pkgsrc/wm/xfce4-wm/work/.buildlink/include/xfce4/libxfce4util/libxfce4util.h:29:0,
misc.c: In function 'getMouseXY':
misc.c:54:30: error: 'w' undeclared (first use in this function)
TRACE ("window (0x%lx)", w);
There is no "w" variable in that function; I think this is just a copy/pasto from somewhere else in the code. I've simply commented it out in my tree.
(That's the only issue I encountered when DEBUG_TRACE is enabled. Otherwise, it compiles and logs output as expected.)
That function used to have a "Window w" parameter until this commit:
I think the fix is to replace "w" with "screen_info->xroot".
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/366.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev