[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][debian/latest] 44 commits: workspace: Damage newly added unmanaged views

Guido Günther (@agx) gitlab at salsa.debian.org
Sun Nov 15 08:54:52 GMT 2026



Guido Günther pushed to branch debian/latest at Debian On Mobile / phoc


Commits:
586408c7 by Guido Günther at 2026-11-09T10:01:34+00:00
workspace: Damage newly added unmanaged views

Inserting views damages so inserting unmanaged should damage too.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/762>

- - - - -
3e52d82d by Evangelos Ribeiro Tzaras at 2026-11-09T10:01:34+00:00
workspace-manager: Uncrustify

Gbp-Dch: Ignore

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/762>

- - - - -
cea22f01 by Guido Günther at 2026-11-09T10:01:34+00:00
workspace: Allow to append views at the bottom

This allows to add a view at the end of the queue so they don't cover existing views.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/762>

- - - - -
8b0437e3 by Evangelos Ribeiro Tzaras at 2026-11-09T10:01:34+00:00
workspace-manager: Adjust number of workspaces at runtime

Extends PHOC_WORKSPACE_MODE_FIXED to adapt to changes of the
'num-workspaces' setting:

- If the number of workspaces grows, new workspaces are appended.
- If it shrinks, the last workspaces are removed and all their views
  and unmanaged surfaces are moved to the new last workspace.

Views from workspaces that were not visible when removed are put below
ones that are already there so they don't cover anything.

If the active workspace gets removed, the new last workspace becomes active
and the views moved from the old active workspace end up on top.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz at fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/762>

- - - - -
49334ba1 by Guido Günther at 2026-11-09T10:01:34+00:00
tests: Add workspace manager tests

Test a bit of the newly added behavior.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/762>

- - - - -
90ef2127 by Marge Bot at 2026-11-09T10:01:46+00:00
Merge branch 'workspace/dynamic_num_workspaces' into 'main'

workspace-manager: Adjust number of workspaces at runtime

See merge request World/Phosh/phoc!762
- - - - -
426e7ef7 by Guido Günther at 2026-11-13T09:58:31+00:00
layer-surface: Add get_geometry()

We had the declaration but didn't add a definition until now

Fixes: 28f1107e4 ("layer-surface: Notify transaction about configure events")
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
c56cfae5 by Guido Günther at 2026-11-13T09:58:31+00:00
render: Remove excessive whitespace

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
5707a782 by Guido Günther at 2026-11-13T09:58:31+00:00
phosh-private: Drop resource from thumbnail

We don't use it

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
00beac2d by Guido Günther at 2026-11-13T09:58:32+00:00
phosh-thumbnail: Move to separate file

We'll turn it into an object in follow-up commits. This is the mere
code move.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
7a20367c by Guido Günther at 2026-11-13T09:58:32+00:00
phosh-thumbnail: Turn into a minimal GObject

We move the struct members private once we handle the resource setting
as well.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
b3509651 by Guido Günther at 2026-11-13T09:58:32+00:00
phosh-thumbnail: Add getters and setters

Introduce a private header since only phosh-private should be able
to create thumbnails and set values.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
5295f525 by Guido Günther at 2026-11-13T09:58:32+00:00
phosh-private: Use the setters and type checks

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
12e03b2c by Guido Günther at 2026-11-13T09:58:33+00:00
render: Use getters to access thumbnails

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
b50a0fbf by Guido Günther at 2026-11-13T09:58:33+00:00
phosh-thumbnail: Make struct private

This makes it a proper GObject that can only be modified via the
provided methods.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
c2dcb5b4 by Guido Günther at 2026-11-13T09:58:33+00:00
phosh-thumbnail: Reduce the submitted damage

No need to damage the whole output, the layer surface is enough. We
know match what the comment says.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
12343b63 by Guido Günther at 2026-11-13T09:58:33+00:00
view: Allow to listen for damage additions

When a view adds damage, other parts might need adjustment too.
Add a signal for that.

Would be nice if we would know the effective damage area but
that will need to wait for the full rendering tree.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
ea948323 by Guido Günther at 2026-11-13T09:58:33+00:00
tests: Add and use some simple colors

Avoids lots of constants in the code

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
b6200597 by Guido Günther at 2026-11-13T09:58:33+00:00
phosh-thumbnail: Make sure thumbnail gets damaged when view changes

Changes to the view's content are otherwise not updated until the
layer-surface changes.

Helps: https://gitlab.gnome.org/World/Phosh/phosh/-/work_items/1349
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
725df6b0 by Guido Günther at 2026-11-13T09:58:33+00:00
render: Render thumbnails relative to and clip to the layer-surface

That's what the protocol says.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/823>

- - - - -
734b84be by Marge Bot at 2026-11-13T09:58:40+00:00
Merge branch 'thumbnail-overlay' into 'main'

Make overlay thumbnails a gobject and damage with view

See merge request World/Phosh/phoc!823
- - - - -
9d896d61 by Guido Günther at 2026-11-13T21:45:03+01:00
ci: Give asan tests more time

They run a lot slower so let give them more time.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
276e457d by Guido Günther at 2026-11-13T21:45:03+01:00
toplevel-pidfd: Don't leak pidfd

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
a09ecd39 by Guido Günther at 2026-11-13T21:45:03+01:00
examples: Drop xx_ references

We use a phoc specific protocol

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
f3eda06c by Guido Günther at 2026-11-13T21:45:03+01:00
desktop: Remove unused getter

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
b51c1086 by Guido Günther at 2026-11-13T21:45:03+01:00
server: Move pidfd protocol here

We want new protocols on the server, not desktop

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
7f3e1807 by Guido Günther at 2026-11-13T21:45:03+01:00
server: Move cutouts protocol here

We want new protocols on the server, not desktop

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
3420cf24 by Guido Günther at 2026-11-13T21:45:03+01:00
server: Indent struct

We need to do it at some point

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
b99404dc by Guido Günther at 2026-11-13T21:45:03+01:00
server: Use int instead of gint

Spotted by the ci-check

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
a653798f by Guido Günther at 2026-11-13T21:45:03+01:00
foreign-toplevel-pidfd: Fix protocol references

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
067c4b95 by Guido Günther at 2026-11-13T22:01:41+01:00
testlib: Listen to ext-foreign-toplevel and pidfd protocols too

We rename theh wlr-foreign-toplevel accordingly while at that.

This will allow us to fade out the wlr-foreign-toplevel protocol
bit by bit.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
dea9b885 by Guido Günther at 2026-11-13T22:01:46+01:00
tests: Add test for toplevel-pidfd protocol

Fixes: d74729dae ("phoc-foreign-toplevel-pidfd: Add protocol implementation")
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
a0a6d86a by Guido Günther at 2026-11-13T22:01:46+01:00
view: Allow to map wlr-foreign-toplevels to ext-foreign-toplevels

Since

https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/141

is stuck and we want to move on, we introduce a new protocol. It can go
away once ext-foreign-topelvel covers wlr-foreign-toplevel fully and we've
moved phosh over. This allows us to start the migration.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
dd686077 by Guido Günther at 2026-11-13T22:01:46+01:00
server: Instantiate toplevel-identifier protocol

It's a privileged protocol

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
d3941d39 by Guido Günther at 2026-11-13T22:01:46+01:00
examples/wlls: Fix indent

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
5e84850e by Guido Günther at 2026-11-13T22:01:46+01:00
examples/wlls: Report toplevel identifier too

We get the identifier from wlr-toplevel (although we could get
it directly)

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/824>

- - - - -
1d9d36ca by Marge Bot at 2026-11-13T21:36:08+00:00
Merge branch 'ext-toplevel-to-wlr-toplevel-map' into 'main'

Allow to map wlr-foreign-toplevels to ext-foreign-toplevels

See merge request World/Phosh/phoc!824
- - - - -
31998f36 by Guido Günther at 2026-11-14T15:04:23+01:00
pidfd: Fix error name and manpage section

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/825>

- - - - -
8b7f6be2 by Guido Günther at 2026-11-14T19:48:20+01:00
treewide: Document changes and release 0.59.0

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/825>

- - - - -
caebbe49 by Marge Bot at 2026-11-15T08:11:06+00:00
Merge branch 'rel-0.59.0' into 'main'

treewide: Document changes and release 0.59.0

See merge request World/Phosh/phoc!825
- - - - -
4fdb9802 by Guido Günther at 2026-11-15T09:13:35+01:00
New upstream version 0.59.0
- - - - -
512cd0a7 by Guido Günther at 2026-11-15T09:13:38+01:00
Update upstream source from tag 'upstream/0.59.0'

Update to upstream version '0.59.0'
with Debian dir 092dabee7fe4aadbf0cfaf58328772b7cc1b2411
- - - - -
f1ea60d5 by Guido Günther at 2026-11-15T09:13:38+01:00
New upstream release

- - - - -
8e74ecfb by Guido Günther at 2026-11-15T09:26:04+01:00
Document changes and release 0.59.0-1

- - - - -


41 changed files:

- .gitlab-ci.yml
- .reuse/dep5
- NEWS
- debian/changelog
- examples/wlls.c
- meson.build
- protocols/meson.build
- + protocols/phoc-foreign-toplevel-identifier-v1.xml
- protocols/phoc-foreign-toplevel-pidfd-v1.xml
- src/desktop.c
- src/desktop.h
- src/layer-surface.c
- src/meson.build
- src/phosh-private.c
- src/phosh-private.h
- + src/phosh-thumbnail-private.h
- + src/phosh-thumbnail.c
- + src/phosh-thumbnail.h
- src/render.c
- src/server.c
- src/server.h
- + src/toplevel-identifier.c
- + src/toplevel-identifier.h
- src/toplevel-pidfd.c
- src/view.c
- src/workspace-manager.c
- src/workspace.c
- src/workspace.h
- src/xwayland-unmanaged.c
- tests/meson.build
- tests/test-layer-shell-effects.c
- tests/test-layer-shell.c
- tests/test-phosh-private.c
- + tests/test-toplevel-identifier.c
- + tests/test-toplevel-pidfd.c
- + tests/test-workspace-manager.c
- tests/test-xdg-decoration.c
- tests/test-xdg-shell.c
- tests/test-xx-cutouts.c
- tests/testlib.c
- tests/testlib.h


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/8202cdf822088b6d96a0d83e48598b72ea14dd51...8e74ecfb9a4736284b7878398fc1ee541f9dd424

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/8202cdf822088b6d96a0d83e48598b72ea14dd51...8e74ecfb9a4736284b7878398fc1ee541f9dd424
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20261115/859ee781/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list