comparison configure @ 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
5484 GTK_PACKAGES="gtk+-2.0 gthread-2.0" 5484 GTK_PACKAGES="gtk+-2.0 gthread-2.0"
5485 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` 5485 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
5486 fi 5486 fi
5487 if test $with_gtk4 = "yes"; then 5487 if test $with_gtk4 = "yes"; then
5488 DW_DIR=gtk4 5488 DW_DIR=gtk4
5489 GTK_PACKAGES="gtk4" 5489 GTK_PACKAGES="gtk4-x11"
5490 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` 5490 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
5491 fi 5491 fi
5492 WEBKIT_PKG="webkit2gtk-4.0" 5492 WEBKIT_PKG="webkit2gtk-4.0"
5493 if test x"$GTK_LIBS" = x; then 5493 if test x"$GTK_LIBS" = x; then
5494 GTK_PACKAGES="gtk+-3.0" 5494 GTK_PACKAGES="gtk+-3.0"