~eliasnaur/gio-patches

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH gio] [Wayland] update the WindowMode when un-minimized

Details
Message ID
<164277986057.2416.10049449566766558636-0@git.sr.ht>
DKIM signature
missing
Download raw message
Patch: +5 -0
From: Pierre Curto <pierre.curto@gmail.com>

When a window goes from the Minimized state to Windowed
as the user brings it back up, the internal state needs
to reflect that change and generate the corresponding
Config event.

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

diff --git a/app/os_wayland.go b/app/os_wayland.go
index a8a95872..ed103694 100644
--- a/app/os_wayland.go
+++ b/app/os_wayland.go
@@ -552,6 +552,11 @@ func gio_onSurfaceEnter(data unsafe.Pointer, surf *C.struct_wl_surface, output *
		conf.windows = append(conf.windows, w)
	}
	w.updateOutputs()
	if w.config.Mode == Minimized {
		// Minimized window got brought back up: it is no longer so.
		w.config.Mode = Windowed
		w.w.Event(ConfigEvent{Config: w.config})
	}
}

//export gio_onSurfaceLeave
-- 
2.32.0

[gio/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CHBHE3F8ITFI.2TR19Y4IEOBLI@cirno>
In-Reply-To
<164277986057.2416.10049449566766558636-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
gio/patches: SUCCESS in 24m59s

[[Wayland] update the WindowMode when un-minimized][0] from [~pierrec][1]

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

✓ #677367 SUCCESS gio/patches/freebsd.yml https://builds.sr.ht/~eliasnaur/job/677367
✓ #677368 SUCCESS gio/patches/linux.yml   https://builds.sr.ht/~eliasnaur/job/677368
✓ #677369 SUCCESS gio/patches/openbsd.yml https://builds.sr.ht/~eliasnaur/job/677369
✓ #677366 SUCCESS gio/patches/apple.yml   https://builds.sr.ht/~eliasnaur/job/677366
Details
Message ID
<CHC0KASWRQCO.E6CRS7KNYPY4@macbog.local>
In-Reply-To
<164277986057.2416.10049449566766558636-0@git.sr.ht> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks. Merged with a subjet tweak.

Elias
Reply to thread Export thread (mbox)