comparison configure.in @ 2320:829228de003f

GTK4: Use package gtk4-x11 instead of gtk4 so we can call Xlib directly to fill in the gaps of removed functionality. Apparently Wayland has no globaly coordinate system? So this will only work on X11 not Wayland. This enables basic functionality for window positioning. Might need to port some of the workarounds back from GTK3 that got removed in the rewrite.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 16 Feb 2021 14:14:54 +0000
parents 7ac85e938b71
children 20f05d3a9c64
comparison
equal deleted inserted replaced
2319:36522ed00ef8 2320:829228de003f
219 GTK_PACKAGES="gtk+-2.0 gthread-2.0" 219 GTK_PACKAGES="gtk+-2.0 gthread-2.0"
220 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` 220 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
221 fi 221 fi
222 if test $with_gtk4 = "yes"; then 222 if test $with_gtk4 = "yes"; then
223 DW_DIR=gtk4 223 DW_DIR=gtk4
224 GTK_PACKAGES="gtk4" 224 GTK_PACKAGES="gtk4-x11"
225 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` 225 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
226 fi 226 fi
227 WEBKIT_PKG="webkit2gtk-4.0" 227 WEBKIT_PKG="webkit2gtk-4.0"
228 if test x"$GTK_LIBS" = x; then 228 if test x"$GTK_LIBS" = x; then
229 GTK_PACKAGES="gtk+-3.0" 229 GTK_PACKAGES="gtk+-3.0"