~eliasnaur/gio-patches

gio: [Wayland] minor fixes v1 PROPOSED

~pierrec: 1
 [Wayland] minor fixes

 1 files changed, 1 insertions(+), 1 deletions(-)
#675181 apple.yml success
#675182 freebsd.yml success
#675183 linux.yml success
#675184 openbsd.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~eliasnaur/gio-patches/patches/28464/mbox | git am -3
Learn more about email & git

[PATCH gio] [Wayland] minor fixes Export this patch

From: Pierre Curto <pierre.curto@gmail.com>

Make sure that the title is set if changed while in
Maximized mode.
Don't overwrite the config.Size when going from
Minimized to Windowed mode.

Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
---
 app/os_wayland.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/os_wayland.go b/app/os_wayland.go
index 0424b75f..ce181bcb 100644
--- a/app/os_wayland.go
+++ b/app/os_wayland.go
@@ -944,6 +944,7 @@ func (w *window) Configure(options []Option) {
			w.config.Mode = Maximized
			w.wsize = w.config.Size
			C.xdg_toplevel_set_maximized(w.topLvl)
			w.setTitle(prev, cnf)
		}
	case Windowed:
		switch prev.Mode {
@@ -953,7 +954,6 @@ func (w *window) Configure(options []Option) {
			C.xdg_toplevel_unset_fullscreen(w.topLvl)
		case Minimized:
			w.config.Mode = Windowed
			w.config.Size = w.wsize
		case Maximized:
			w.config.Mode = Windowed
			w.size = w.wsize.Div(w.scale)
-- 
2.32.0
gio/patches: SUCCESS in 19m36s

[[Wayland] minor fixes][0] from [~pierrec][1]

[0]: https://lists.sr.ht/~eliasnaur/gio-patches/patches/28464
[1]: mailto:pierre.curto@gmail.com

✓ #675184 SUCCESS gio/patches/openbsd.yml https://builds.sr.ht/~eliasnaur/job/675184
✓ #675182 SUCCESS gio/patches/freebsd.yml https://builds.sr.ht/~eliasnaur/job/675182
✓ #675183 SUCCESS gio/patches/linux.yml   https://builds.sr.ht/~eliasnaur/job/675183
✓ #675181 SUCCESS gio/patches/apple.yml   https://builds.sr.ht/~eliasnaur/job/675181
Thak you, merged.

Elias