mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #205] [MERGED] Initial version of GTK Wayland backend #229
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#229
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/205
Author: @klugier
Created: 9/22/2024
Status: ✅ Merged
Merged: 2/2/2025
Merged by: @mirek-fidler
Base:
master← Head:klugier/gtk-wayland-initial-version📝 Commits (10+)
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.6dcd8afCosmeticsb61d318.nativee59b14cFirst iteration of CSD.606960f.workingc2d0f96Merge branch 'master' of https://github.com/ultimatepp/ultimatepp into klugier/gdk-backend-in-about-box-native-header📊 Changes
18 files changed (+390 additions, -76 deletions)
View changed files
📝
uppsrc/CtrlCore/CtrlCore.h(+3 -0)📝
uppsrc/CtrlCore/CtrlCore.upp(+2 -0)📝
uppsrc/CtrlCore/CtrlDraw.cpp(+2 -1)➕
uppsrc/CtrlCore/GdkBackend.cpp(+67 -0)📝
uppsrc/CtrlCore/Gtk.h(+46 -3)📝
uppsrc/CtrlCore/GtkAfter.h(+3 -2)📝
uppsrc/CtrlCore/GtkApp.cpp(+20 -10)➕
uppsrc/CtrlCore/GtkCSD.cpp(+82 -0)📝
uppsrc/CtrlCore/GtkCreate.cpp(+51 -18)📝
uppsrc/CtrlCore/GtkCtrl.cpp(+4 -2)📝
uppsrc/CtrlCore/GtkCtrl.h(+2 -2)📝
uppsrc/CtrlCore/GtkEvent.cpp(+6 -1)📝
uppsrc/CtrlCore/GtkTop.cpp(+5 -5)📝
uppsrc/CtrlCore/GtkWnd.cpp(+77 -22)📝
uppsrc/CtrlCore/GtkX11Util.cpp(+17 -8)📝
uppsrc/CtrlCore/X11App.cpp(+1 -1)📝
uppsrc/ide/About.cpp(+1 -1)📝
uppsrc/ide/ide.upp(+1 -0)📄 Description
This PR enable Wayland on GTK back-end. The Wayland is secondary back-end by default. It means that without launching it explicitly in Wayland session it won't be turn on. However running upp application with having set environemnt
GDK_BACKEND=waylandshould enable GTK Wayland backend in Wayland session for all Upp applications. Alternatively, I added flagWAYLAND which allows to force selection of GTK Wayland back-end once provided.Other significant things done in this PR:
Things to implement in the future PR's:
I tested this PR in various scenarios as sessions. However, the chance for regression is high. So, I highly recommend to merge these changes after release 2024.1. Also, please merge with squash option to make history clean.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.