Commit Graph

761 Commits

Author SHA1 Message Date
lkn 8cca118517 step 1: remove duplicate layer shell code from wl_backend.c (deletes 182 lines shadowed by wl_layer_shell.c) 2026-06-06 09:38:54 +02:00
lkn 60c43b734a fix combined build: mark stub functions __attribute__((weak)) to resolve multiple-definition conflicts when linking both X11 and Wayland backends 2026-06-06 09:36:03 +02:00
lkn 709a8d76fc cleanup: remove debug TRACE fprintf lines from defaults.c 2026-06-06 09:01:09 +02:00
lkn 90da92c83c fix startup crash: skip getTexture entries with corrupted WINGs PL arrays in Wayland-only build 2026-06-06 08:59:10 +02:00
Window Maker f619a1a1a5 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
Window Maker 6ca913c4e3 fix MonitorLoop infinite restart, add getTexture NULL-safety, disable crash recovery 2026-06-06 07:32:52 +02:00
Window Maker c25d5dd56d fix WidgetColor crash: getTexture convert function did not handle NULL plvalue fallback for entries with no hardcoded default plvalue 2026-06-06 07:21:13 +02:00
Window Maker 7e5d81bfd1 pure Wayland build complete: no X11 libraries linked, binary builds and runs through all startup initialization, WidgetColor texture parse is pre-existing bug 2026-06-06 07:19:02 +02:00
Window Maker f1a70a8260 fix register_error_handlers NULL deref in pure Wayland build: move vtable entry out of USE_XWAYLAND guard, add empty stub 2026-06-06 06:50:02 +02:00
Window Maker 122ee29184 guard XWayland startup path behind USE_XWAYLAND: skip XOpenDisplay and pump thread in pure Wayland build 2026-06-05 20:13:16 +02:00
Window Maker 210d320887 guard wlr_xwayland_create behind USE_XWAYLAND: no XWayland server spawned in pure Wayland build, fixes crash after conditional compilation 2026-06-05 20:01:06 +02:00
Window Maker 31b621bbd2 pure Wayland build: conditionally compile wl_xdisplay.c/wl_xwayland.c behind USE_XWAYLAND, add stubs in wl_stubs.c, guard XWayland handler registration in wl_backend.c 2026-06-05 19:55:28 +02:00
Window Maker b546e9505d fix XWayland-only build: provide unconditional stub for get_window_image_from_x11 in wl_window.c so it links without the X11 backend 2026-06-05 19:40:46 +02:00
Window Maker e98dd1f6f0 add --enable-xwayland configure option: USE_XWAYLAND controls XWayland support independently from USE_X11_BACKEND; LINK_X11 conditional links libX11 when either is enabled; X11 libs no longer linked in pure Wayland mode 2026-06-05 19:35:01 +02:00
Window Maker 0453888f08 split USE_X11_BACKEND from XWayland: USE_XWAYLAND now controls X11 support in the wayland backend (X11 wrapper functions, error handlers, XWayland event loop, X11 window helpers), separate from USE_X11_BACKEND which controls the x11_backend.c classic WM mode 2026-06-05 19:09:55 +02:00
Window Maker 598f6f304b finish X11 call isolation: guard XSendEvent in wl_client.c, guard X11 error handlers in wl_extensions.c, guard vtable entries in wl_stubs.c 2026-06-05 18:42:26 +02:00
Window Maker 8c11b96ebc confine X11 calls to wl_xdisplay.c and wl_xwayland.c: wrap X11 function bodies in #if USE_X11_BACKEND with stubs, guard wl_backend.c X11 blocks, remove <X11/Xlib.h> from wl_atom.c/wl_event.c/wl_client.c/wl_framebuf.c 2026-06-05 18:36:07 +02:00
Window Maker b39c03e69e 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
Window Maker 3b082257cd begin X11-free build: guard X11 link flags behind USE_X11_BACKEND, add -DWRASTER_NO_XLIB for non-X11 builds, guard X11-only function declarations in wl_types.h 2026-06-05 14:26:46 +02:00
Window Maker 3eaf2bc499 cleanup: remove stale Phase planning comments and DBG/DBG1 debug macros from all wayland backend source files 2026-06-04 21:34:37 +02:00
Window Maker 01c2664b2f fix WPrefs window decorations: only skip wManageWindow when a real WINGs dialog frame buffer is found (id>=0x20000000); regular WINGs windows (app_id="WINGs") now go through normal frame creation 2026-06-04 17:46:41 +02:00
Window Maker fb95ffc450 fix WINGs dialog button clicks: resolve WINGs view via WWindow client_leader when frame_buf_hit returns WM fake_leader 2026-06-04 14:55:43 +02:00
Window Maker 340e23ddc6 fix WINGs dialog input: skip wManageWindow for WINGs dialogs, connect XDG scene node to fake leader tree, adopt WINGs view ID 2026-06-04 13:48:26 +02:00
Window Maker e090b929a4 bridge WINGs dialog XDG toplevel to WINGs view ID: set view->frame_id and adopt WINGs window ID in handle_toplevel_map 2026-06-04 13:42:27 +02:00
Window Maker 9dcc4f8f72 add debug trace for WINGs dialog button event routing 2026-06-04 10:27:37 +02:00
Window Maker ef45983b5b fix WINGs dialog input: match XDG toplevel clicks to WINGs frame buffers by bounds 2026-06-04 09:58:16 +02:00
Window Maker 1e09e5e35f fix mouse input on WINGs dialog buttons: route pointer events to XDG toplevel views when no frame buffer is hit 2026-06-04 09:51:47 +02:00
Window Maker 0e582d0580 render titlebar button icons directly from XPM character data, bypassing XPM parser (which depends on X11) 2026-06-04 09:36:19 +02:00
Window Maker c7a3e80c73 fix titlebar buttons: render icons directly with pixman instead of XPM parser, remove XPM parsing dependency 2026-06-04 09:16:49 +02:00
Window Maker f7a3c735a7 fix titlebar button icons: XPM hex color parser off-by-one, remove output destroy listener 2026-06-04 09:14:12 +02:00
Window Maker 8c65d3fa88 fix background image rendering on Wayland: defer bg until output ready, disable wmsetbg helper, add pixmap path search, fix output destroy crash, update background.menu to use wdwrite 2026-06-04 09:05:22 +02:00
Window Maker 550d7828a8 fix segfault: move backend selection before wm_backend is first used in main() 2026-06-04 08:23:01 +02:00
Window Maker aaf5e94b05 fix full build: add W_GetViewForXWindow stub for Wayland-only build 2026-06-04 08:15:15 +02:00
Window Maker 258b625429 fix util/ build: add W_KeycodeToKeysym stub for Wayland-only build 2026-06-04 08:13:03 +02:00
Window Maker 8c1cbfaca8 Wayland-only build: guard X11 backend in Makefile.am, add wm_backend.c, WINGs _wl.c stubs 2026-06-04 08:07:21 +02:00
Window Maker cfa1e4aad7 WINGs: add wappresource_wl.c, wballoon_wl.c + fix wcolorpanel_wl.c for Wayland-only builds 2026-06-02 22:44:10 +02:00
Window Maker 29aeffd6ac decompose wl_stubs.c: move remaining real implementations to module files 2026-06-02 21:25:27 +02:00
Window Maker 859af074ad cleanup: remove stale Phase planning comments from all wayland backend files 2026-06-02 20:23:26 +02:00
Window Maker 3205716ac5 decompose wl_stubs.c: move icon painting functions to wl_icon.c 2026-06-02 17:11:37 +02:00
Window Maker d376eec495 decompose wl_stubs.c: move wl_icon_paint + wl_appicon_paint to wl_icon.c 2026-06-02 17:04:20 +02:00
Window Maker 75a4224370 decompose wl_stubs.c: move wl_frame_paint_button + wl_netwm_update_opacity to wl_framebuf.c 2026-06-02 17:02:11 +02:00
Window Maker c635fcd3fa decompose wl_backend.c: final refactor — extracted wl_handlers.c 2026-06-02 16:32:22 +02:00
Window Maker e2f048a6a9 decompose wl_backend.c: extract wl_handlers.c 2026-06-02 16:27:08 +02:00
Window Maker 189fde4a19 decompose wl_backend.c: extract wl_virtual_pointer.c 2026-06-02 16:17:44 +02:00
Window Maker 82c08973dd decompose wl_backend.c: extract wl_layer_shell.c 2026-06-02 16:13:15 +02:00
Window Maker 27b59ca388 decompose wl_backend.c: extract wl_xdg_activation.c 2026-06-02 16:11:42 +02:00
Window Maker 52182fcbec decompose wl_backend.c: extract wl_text_input.c 2026-06-02 16:10:42 +02:00
Window Maker 84a2be36c3 decompose wl_backend.c: extract wl_output_mgmt.c 2026-06-02 16:09:42 +02:00
Window Maker e3a8c5d74b decompose wl_backend.c: extract wl_output.c 2026-06-02 16:07:34 +02:00
Window Maker 053ed4e6b3 decompose wl_backend.c: extract wl_xdg.c 2026-06-02 16:05:18 +02:00