mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #202] [CLOSED] Gtk - Wayland backend support (WiP) #226
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/202
Author: @klugier
Created: 8/25/2024
Status: ❌ Closed
Base:
master← Head:klugier/gdk-backend-in-about-box📝 Commits (8)
4a97abfObtaining Gtk backend and runtime and displaying it in About box.64a42e3.fixesa91a7f5.csometicsb92247dInitial iteration for GTK on Wayland. Works suprisingly stable.485ce91Disable X11Utils when Wayland backend detected.6dcd8afCosmeticsda23296Merge branch 'master' of https://github.com/ultimatepp/ultimatepp into klugier/gdk-backend-in-about-box810d3f9Better handling of popups.📊 Changes
14 files changed (+166 additions, -28 deletions)
View changed files
📝
uppsrc/CtrlCore/CtrlCore.upp(+1 -0)➕
uppsrc/CtrlCore/GdkBackend.cpp(+61 -0)📝
uppsrc/CtrlCore/Gtk.h(+15 -0)📝
uppsrc/CtrlCore/GtkAfter.h(+3 -2)📝
uppsrc/CtrlCore/GtkApp.cpp(+13 -6)📝
uppsrc/CtrlCore/GtkCreate.cpp(+5 -3)📝
uppsrc/CtrlCore/GtkCtrl.cpp(+4 -0)📝
uppsrc/CtrlCore/GtkCtrl.h(+1 -1)📝
uppsrc/CtrlCore/GtkEvent.cpp(+4 -0)📝
uppsrc/CtrlCore/GtkTop.cpp(+1 -1)📝
uppsrc/CtrlCore/GtkWnd.cpp(+38 -8)📝
uppsrc/CtrlCore/GtkX11Util.cpp(+15 -4)📝
uppsrc/CtrlCore/X11App.cpp(+1 -1)📝
uppsrc/ide/About.cpp(+4 -2)📄 Description
This PR:
Tested on both X11 and Wayland and it works as expected. To test in on Wayland there is a need to modify CtrlCore/GtkApp.cpp and modify InitGtkApp function
In above code wayland is not there for obvious reasons. We are still heavely basing on X11.
Makefile needs to be updated after pushing it to the master branch.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.