From ef8fc71108e6be89b534a4ae078691ef8d643218 Mon Sep 17 00:00:00 2001 From: daleclack Date: Wed, 20 Mar 2024 19:28:04 +0800 Subject: [PATCH] Add information of gtk160 --- Gtk4/gtk160_wayland_test/src/main.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Gtk4/gtk160_wayland_test/src/main.cpp b/Gtk4/gtk160_wayland_test/src/main.cpp index a8a4383..fd57e7f 100644 --- a/Gtk4/gtk160_wayland_test/src/main.cpp +++ b/Gtk4/gtk160_wayland_test/src/main.cpp @@ -1,8 +1,15 @@ -#include "MainWin.h" -#include "../json_nlohmann/json.hpp" -#include +/* +This is test for wayland support for My GtkUI Project, +which is started in February 2021, +before March 19, 2024, the project only tested with X11 Environment. +(For Wayland DEs, XWayland is used for test, and GDK_BACKEND will be x11) +However, the window management for My GtkUI 5.x and 7.x are unused for wayland protocol, +because the minimized window and default window has the same window state varible, +which cause the issue. +And this is a try for another idea, which is used for My GtkUI original tests in 2020. +*/ -using json = nlohmann::json; +#include "MainWin.h" static void gtkmain(GtkApplication *app, gpointer user_data) {