Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ba72911
add wayland flag\
GoranKovac Jul 1, 2026
b2bae55
use mouse relative mode for wayland
GoranKovac Jul 1, 2026
dcf81a2
add OSWIDGET
GoranKovac Jul 1, 2026
3f5ba3b
fix gtkwidged typo, minimal wayland + screen update
GoranKovac Jul 1, 2026
5689da2
fix again typo gtkwidget and utilize gtk widget to fix coordinate offset
GoranKovac Jul 1, 2026
5b68146
fix modal windows for gtkwidget
GoranKovac Jul 1, 2026
91ae230
add gtk clipboard, fix geometry_hints for wayland
GoranKovac Jul 1, 2026
b4e010c
fix crash when opening tooltip after menu
GoranKovac Jul 2, 2026
11f9e5e
fix submenus spawning at previous position
GoranKovac Jul 2, 2026
daa655f
Fix menu offsets from monitor coordinates (multimonitor)
GoranKovac Jul 2, 2026
a5b2b97
Fix media explorer wayland crash
GoranKovac Jul 2, 2026
e9830c3
fix drag and drop from file explorer
GoranKovac Jul 2, 2026
3734694
simplify updatetoscreen
GoranKovac Jul 2, 2026
a25724c
fix drag and drop from media explorer
GoranKovac Jul 2, 2026
fa99c80
fix maximizing call when oswindow is null
GoranKovac Jul 2, 2026
b0b2e48
fix stuck cursors when closing menus
GoranKovac Jul 2, 2026
cb4e6f7
disable plugin bridge in wayland
GoranKovac Jul 2, 2026
026d2a7
Merge branch 'justinfrankel:main' into Wayland
GoranKovac Jul 2, 2026
f09d7f9
add ifdef for gtkwidget dnd
GoranKovac Jul 2, 2026
56b9128
fix windows being max sized
GoranKovac Jul 5, 2026
254d605
fix maximized state + fix restoring windows size on reopen
GoranKovac Jul 5, 2026
a96f334
Fix tooltips and menus constrains
GoranKovac Jul 6, 2026
9494fd5
prevent modal windows to resize manually
GoranKovac Jul 6, 2026
e85d45a
fix modal cancel closing whole app and keep running in background
GoranKovac Jul 14, 2026
6fa0265
fix docker drag and drop, fix tooltip spawning in wrong window
GoranKovac Jul 18, 2026
677c2b5
allow building exclusive x11 app without wayland flag
GoranKovac Jul 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions WDL/swell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ ifndef NOGDK
CFLAGS += -DSWELL_PRELOAD="libgdk-3.so.0"
endif
endif
ifdef WAYLAND
CFLAGS += -DSWELL_TARGET_WAYLAND
endif
endif
CFLAGS += -DSWELL_LICE_GDI
OBJS += $(LICE_OBJS)
Expand Down
4 changes: 4 additions & 0 deletions WDL/swell/swell-dlg-generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ int SWELL_DialogBox(SWELL_DialogResourceIndex *reshead, const char *resid, HWND
Sleep(10);
}
ret=r.ret;
#ifdef SWELL_TARGET_WAYLAND
if (hwnd->m_oswidget && GTK_IS_WINDOW(hwnd->m_oswidget))
gtk_window_set_modal(GTK_WINDOW(hwnd->m_oswidget), FALSE);
#endif
s_modalDialogs.DeletePtr(&r);

a = SWELL_topwindows;
Expand Down
8 changes: 7 additions & 1 deletion WDL/swell/swell-gdi-lice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,13 @@ void ImageList_Destroy(HIMAGELIST list)

int ImageList_ReplaceIcon(HIMAGELIST list, int offset, HICON image)
{
if (WDL_NOT_NORMALLY(!image || !list)) return -1;
if (WDL_NOT_NORMALLY(!list)) return -1;
#ifdef SWELL_TARGET_WAYLAND
// Media Explorer passes a NULL icon on Wayland (icon failed to load)
if (!image) return -1;
#else
if (WDL_NOT_NORMALLY(!image)) return -1;
#endif
WDL_PtrList<HGDIOBJ__> *l=(WDL_PtrList<HGDIOBJ__> *)list;

HGDIOBJ__ *imgsrc = (HGDIOBJ__*)image;
Expand Down
Loading