windowmaker-wl/WINGs
lkn 53d8d82e3a wayland: use PIXMAN_OP_SRC for fill_rect to replace stale content
fill_rect used PIXMAN_OP_OVER which blends over existing pixels.
Uninitialized view backing images retained stale pixel data (e.g.
from icon tiles previously in that heap region), causing visual
artifacts like appicons showing through editmenu entries in WPrefs.

SRC fully replaces destination pixels, eliminating bleed-through.
2026-06-26 07:29:02 +02:00
..
Documentation gitignore: stop tracking all generated build outputs 2026-03-31 13:36:58 +02:00
Examples cleanup: remove WL_DECOMPOSITION_PLAN.md (decomposition complete) 2026-06-06 11:01:04 +02:00
Extras cleanup: remove WL_DECOMPOSITION_PLAN.md (decomposition complete) 2026-06-06 11:01:04 +02:00
Resources gitignore: stop tracking all generated build outputs 2026-03-31 13:36:58 +02:00
Tests cleanup: remove WL_DECOMPOSITION_PLAN.md (decomposition complete) 2026-06-06 11:01:04 +02:00
WINGs Implement popup-style toplevels for menu editor on Wayland 2026-05-24 17:58:58 +02:00
po gitignore: stop tracking all generated build outputs 2026-03-31 13:36:58 +02:00
BUGS WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
ChangeLog WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
Makefile.am 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
NEWS WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
README WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
TODO WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
array.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
bagtree.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
configuration.c wrlib: split X11 image-conversion path; --disable-x11-wraster 2026-05-24 12:24:45 +02:00
data.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
dragcommon.c wings: phase γ (dragcommon) — split X11 XDND wire code into _x11 2026-05-24 10:58:22 +02:00
dragcommon_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
dragdestination_x11.c WINGs: guard WMRegisterViewForDraggedTypes against NULL X display 2026-05-25 13:07:55 +02:00
dragsource_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
error.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
error.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
findfile.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
handlers.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
hashtable.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
make-rgb WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
memory.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
menuparser.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
menuparser.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
menuparser_macros.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
misc.c wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
notification.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
proplist.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
rgb.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
selection_x11.c selection: fix use-after-free crash from duplicate handler delete 2026-05-28 21:42:02 +02:00
string.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
tree.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
userdefaults.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
userdefaults.h wings: revert accidental WNativeWindow rename in strings/comments 2026-05-24 11:42:37 +02:00
usleep.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
wapplication.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
wappresource_wl.c WINGs: add wappresource_wl.c, wballoon_wl.c + fix wcolorpanel_wl.c for Wayland-only builds 2026-06-02 22:44:10 +02:00
wappresource_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wballoon_wl.c 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
wballoon_x11.c balloon: fix leave tracking + multi-line height in wl_balloon_draw 2026-05-28 20:37:51 +02:00
wbox.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wbrowser.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
wbutton.c wings: phase α.3 — rename X11 enum/macro values to WM_* 2026-05-24 10:47:37 +02:00
wclient_wl.c fix popup reopen: shrink view size on 1x1 unmap; fix cascade commit target 2026-06-07 17:32:44 +02:00
wcolor.c Phase 80: eliminate all 43 if(!dpy) return guards via vtable dispatch 2026-05-13 10:01:57 +02:00
wcolor_wl.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wcolor_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wcolorpanel.c colorpanel: split into wcolorpanel.c + _x11.c + _wl.c (412->0 X11 calls) 2026-05-28 19:55:41 +02:00
wcolorpanelP.h colorpanel: split into wcolorpanel.c + _x11.c + _wl.c (412->0 X11 calls) 2026-05-28 19:55:41 +02:00
wcolorpanel_wl.c WINGs: add wappresource_wl.c, wballoon_wl.c + fix wcolorpanel_wl.c for Wayland-only builds 2026-06-02 22:44:10 +02:00
wcolorpanel_x11.c colorpanel: split into wcolorpanel.c + _x11.c + _wl.c (412->0 X11 calls) 2026-05-28 19:55:41 +02:00
wcolorwell.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
wconfig.h WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
wevent.c WINGs: fix WPrefs not launching in X11 mode 2026-05-25 18:08:09 +02:00
wevent_wl.c WPrefs: drop SIGUSR2, rely on inotify for defaults reload 2026-05-25 12:02:26 +02:00
wevent_x11.c WINGs/wevent_x11: fix MapRequest/ConfigureRequest not reaching WM dispatch 2026-05-25 17:17:03 +02:00
wfilepanel.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wfont.c wings: drop libXft from wfont.c / wfontpanel.c 2026-05-24 11:09:39 +02:00
wfont_wl.c fix crash: resolve frame_buf IDs via W_GetFrameBufImageFn 2026-06-23 22:40:49 +02:00
wfont_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wfontpanel.c wings: drop libXft from wfont.c / wfontpanel.c 2026-05-24 11:09:39 +02:00
wframe.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
widgets.c wrlib: split X11 image-conversion path; --disable-x11-wraster 2026-05-24 12:24:45 +02:00
widgets_x11.c selection: fix crash on Wayland when W_NativeInternAtom called with NULL display 2026-05-28 21:18:18 +02:00
winputmethod_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wlabel.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wlist.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
wmenuitem.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
wmisc.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
wpanel.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wpixmap.c wings: phase β — rename X11 typedefs in shared/Wayland code 2026-05-24 10:49:47 +02:00
wpopupbutton.c WME_BUTTON_PRESS on menuView: do not set insideMenu (only motion initiates drag) 2026-06-07 17:47:20 +02:00
wprogressindicator.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wrender_wl.c wayland: use PIXMAN_OP_SRC for fill_rect to replace stale content 2026-06-26 07:29:02 +02:00
wrender_x11.c wings: phases δ + ε — drop X11/Xlib.h from public WINGs headers 2026-05-24 11:37:18 +02:00
wruler.c wrlib: split X11 image-conversion path; --disable-x11-wraster 2026-05-24 12:24:45 +02:00
wscroller.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wscrollview.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wslider.c fix: slider page-click uses event->u.motion.x/y instead of button.x/y on Wayland 2026-05-30 13:31:50 +02:00
wsplitview.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wstubs_no_x11.c fix full build: add W_GetViewForXWindow stub for Wayland-only build 2026-06-04 08:15:15 +02:00
wtabview.c wrlib: split X11 image-conversion path; --disable-x11-wraster 2026-05-24 12:24:45 +02:00
wtext.c wrlib: split X11 image-conversion path; --disable-x11-wraster 2026-05-24 12:24:45 +02:00
wtextfield.c textfield: fix stuck waitingSelection after sync paste on Wayland (blocked key events) 2026-05-28 21:47:23 +02:00
wutil.c WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00
wview.c fix extern declaration placement for view_table_remove 2026-05-29 17:06:41 +02:00
wview_wl.c fix UAF: NULL last_hovered_view when view is destroyed 2026-06-24 00:20:07 +02:00
wview_x11.c WINGs: fix WPrefs not launching in X11 mode 2026-05-25 18:08:09 +02:00
wwindow.c wings: phase α.2 — rename X11 event masks to WM_EVMASK_* 2026-05-24 10:43:23 +02:00
wwindow_p.h WINGs: port wwindow.c to vtable dispatch (Phase D) 2026-05-23 15:19:52 +02:00

README

                      WINGs - WINGs Is Not GNUstep

                                   by

                          Alfredo Kengi Kojima

                          kojima@windowmaker.info


   WINGs is a small widget set with the N*XTSTEP look and feel. Its API
is inspired in OpenStep and its implementation borrows some ideas
from Tk. It has a reasonable set of widgets, sufficient for building
small applications (like a CDPlayer or hacking something like rxvt). It
also has other functions that are usefull for applications, like a
User Defaults alike configuration manager and a notification system.

   The library is limited and its design is a little sloppy,
so it's not intended to build large or complex applications, like
anything more complex than a CDPlayer. GNUstep should be used for such
applications.

   Since WINGs is written in C and is sort of low-level it is small
and faster than say, Motif or even Athena. Knowing Xlib will help you to
workaround some of its limitations, although you'll probably be able to
write something like a trivial tic-tac-toe game without knowing much Xlib.

   Some of its functions are designed to support the Window Maker window
manager (see http://windowmaker.info) In fact, its primary role is to
support Window Maker. All other uses of it are just an added bonus.

   It will help you to understand the API if you read the ApplicationKit
reference manual, distributed as a PDF by Apple. The function names,
structs and most of the intrinsics are very close to OpenStep classes.


Internationalization:
---------------------

    Change ~/GNUstep/Defaults/WMGLOBAL to set the desired font set and
set MultiByteText = YES; to enable support for multibyte text.


Widgets provided by WINGs:
--------------------------

- button (command button, radio, switch etc. - all buttons defined in OpenStep)
- label
- textfield
- frame
- window
- popup menu button
- scroller
- selection list
- browser
- slider
- scrollable view
- color well
- split view
- tabbed view
- progress indicator

- selection (make pasteboard like?)
- drag&drop

- input box
- file panel
- color panel
- alert panel
- font panel

If you think you can code the following, please do. They are needed by
WPrefs.app, but the number of other things I have to do is huge.

- input method support (XIM). I have no idea of how to code it. People who use
different characters than ASCII will have trouble editing menus without it...


Wish list: (I don't have the know-how or time to do them)
---------------------------------------------------------

- text (with support for RTF)
- matrix (like NSMatrix)
- font manager (like NSFontManager)
- finish other wigets
- optimize list scrolling (XCopyArea() the area that's already drawn)
- InterfaceMaker?
- use XSetWMName and XSetWMIconName for the window/icon title setting.
  This requires transforming the received text to a text property with
  the proper encoding.

Copyright
---------

WINGs is copyright (c) Alfredo K. Kojima and is licensed through the GNU
Library General Public License (LGPL).