windowmaker-wl/src
lkn e6acdbf0f1 wayland: fix shade crash and titlebar visibility when shaded
Two issues with window shading:

1. wShadeWindow resizes the frame to top_width-1 tall. wl_frame_paint
   used the unclamped fwin->top_width as titlebar blit height, writing
   one row past the pixman buffer. Heap corruption detected by glibc on
   next free (RReleaseImage) caused SIGABRT. Fix: clamp tb_h to total_h.

2. The parent frame scene_buf was only enabled when show_resizebar was
   true. When the titlebar child buffer is too narrow (falls back to
   drawing into the parent), the shaded frame had its scene_buf disabled
   and the titlebar was invisible. Fix: also enable the parent scene_buf
   when the titlebar was drawn into it (no titlebar child found).
2026-06-24 21:49:32 +02:00
..
backend wayland: fix shade crash and titlebar visibility when shaded 2026-06-24 21:49:32 +02:00
GNUstep.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
Makefile add ext-session-lock-v1 protocol support 2026-06-23 22:44:38 +02:00
Makefile.am add ext-session-lock-v1 protocol support 2026-06-23 22:44:38 +02:00
WindowMaker.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
actions.c send XDG fullscreen state to Wayland clients 2026-06-23 20:40:57 +02:00
actions.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
appicon.c wayland: implement dockapp rendering inside dock icons 2026-06-23 12:55:48 +02:00
appicon.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
application.c route remaining wm_backend->appicon_paint calls through wAppIconPaint 2026-06-21 18:58:08 +02:00
application.h wayland: fix double-free crash when destroying shared WApplication 2026-06-21 17:43:42 +02:00
appmenu.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
appmenu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
balloon.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
balloon.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
client.c client: use wIconPaint instead of raw backend icon_paint 2026-06-21 18:59:36 +02:00
client.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
colormap.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
colormap.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
cycling.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
cycling.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
def_pixmaps.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
defaults.c route remaining wm_backend->appicon_paint calls through wAppIconPaint 2026-06-21 18:58:08 +02:00
defaults.h defaults: use nanosecond mtime precision to detect rapid file writes 2026-05-24 15:24:03 +02:00
dialog.c fix: realize dialog panel before client_reparent so WMWidgetXID returns a valid view ID 2026-05-30 15:45:09 +02:00
dialog.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
dock.c fix UAF: get WApplication before wUnmanageWindow frees wwin 2026-06-23 22:59:44 +02:00
dock.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
dockedapp.c dock: route all appicon paints through wAppIconPaint 2026-06-21 18:53:30 +02:00
dockedapp.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
event.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
event.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
extend_pixmaps.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
framewin.c fix memory leaks: free color description strings and icon paths 2026-06-23 22:20:40 +02:00
framewin.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
geom.c Wayland backend abstraction: WMBackend vtable (Phases 0–30) 2026-03-27 19:20:00 +01:00
geom.h Wayland backend abstraction: WMBackend vtable (Phases 0–30) 2026-03-27 19:20:00 +01:00
geomview.c fix: resize/move indicator (gview) not updating on Wayland 2026-05-30 11:37:51 +02:00
geomview.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
icon.c fix dockapp capture: use XSync, remove crash-prone timer 2026-06-23 13:22:33 +02:00
icon.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
keybind.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
main.c ignore SIGPIPE to prevent crash on DnD/clipboard pipe close 2026-06-23 13:34:07 +02:00
main.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
menu.c fix drawer right-click menus not responding to mouse input 2026-06-23 13:01:09 +02:00
menu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
misc.c fix animation architecture: delegate slide/move to backend vtable 2026-06-24 19:41:41 +02:00
misc.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
monitor.c fix WidgetColor crash: WMCreatePropListFromDescription creates corrupt array elements in pure Wayland build, skip getTexture for WidgetColor until WINGs PL is fixed; remove all debug traces; disable crash recovery loop 2026-06-06 07:47:19 +02:00
monitor.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
motif.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
motif.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
moveres.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
osdep.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
osdep_bsd.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
osdep_darwin.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
osdep_linux.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
osdep_stub.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
pixmap.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
pixmap.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
placement.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
placement.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
properties.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
properties.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
resources.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
resources.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
rootmenu.c defaults: use nanosecond mtime precision to detect rapid file writes 2026-05-24 15:24:03 +02:00
rootmenu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
screen.c fix WidgetColor crash: WMCreatePropListFromDescription creates corrupt array elements in pure Wayland build, skip getTexture for WidgetColor until WINGs PL is fixed; remove all debug traces; disable crash recovery loop 2026-06-06 07:47:19 +02:00
screen.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
session.c session: debug prints in wl_prop_get_wm_class to diagnose xterm save failure 2026-05-28 22:34:36 +02:00
session.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
shutdown.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
shutdown.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
stacking.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
stacking.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
startup.c fix WidgetColor crash: WMCreatePropListFromDescription creates corrupt array elements in pure Wayland build, skip getTexture for WidgetColor until WINGs PL is fixed; remove all debug traces; disable crash recovery loop 2026-06-06 07:47:19 +02:00
startup.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
superfluous.c cleanup: remove debug wwarning/fprintf output 2026-06-21 17:25:06 +02:00
superfluous.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
switchmenu.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
switchmenu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
switchpanel.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
switchpanel.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
texture.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
texture.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
usermenu.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
usermenu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
wconfig.h wings: phase γ (widgets.c) — split Xlib calls into widgets_x11.c 2026-05-24 10:55:30 +02:00
wconfig.h.in Wayland backend abstraction: WMBackend vtable (Phases 0–30) 2026-03-27 19:20:00 +01:00
wcore.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
wcore.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
wdefaults.c fix memory leaks: free color description strings and icon paths 2026-06-23 22:20:40 +02:00
wdefaults.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
window.c fix UAF: get WApplication before wUnmanageWindow frees wwin 2026-06-23 22:59:44 +02:00
window.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
winmenu.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
winmenu.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
winspector.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
winspector.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
wmaker.prev confine X11 calls to wl_xdisplay.c and wl_xwayland.c: move XInternAtom/XFlush/XSync to wl_xdisplay.c, move XGetImage/opacity to wl_xwayland.c, remove <X11/Xlib.h> from wl_atom.c/wl_event.c/wl_client.c/wl_framebuf.c 2026-06-05 18:30:20 +02:00
workspace.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
workspace.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
wsmap.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
wsmap.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
xdg-shell-protocol.h wayland: Phase 35 — advertise core Wayland protocol globals 2026-03-27 23:09:39 +01:00
xinerama.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
xinerama.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
xmodifier.c wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00
xmodifier.h arch: move X11 modifier-keymap discovery into X11 backend 2026-05-24 08:43:32 +02:00
xutil.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
xutil.h wm core: shared src/ is now X11-free at the source level 2026-05-24 12:52:31 +02:00