Skip to content

Is there a way to make bar/panel stay still when switching workspaces using vswitch? #2066

Answered by ammen99
A7R7 asked this question in Q&A
Discussion options

You must be logged in to vote

I dont think such a change will break anything.

If you are looking at this in the code: vswitch uses workspace-wall.hpp for rendering. The wall has a render node added to the scene. To make the panel stay on top, you'd need the following changes:

  • In the workspace nodes (their implementation is in core, but they are used by workspace-wall) do not generate instances for overlay and top layers.
  • Add the wall render node below those layers in the scenegraph

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@A7R7
Comment options

@ammen99
Comment options

Answer selected by A7R7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants