Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
6af582b0
Commit
6af582b0
authored
Mar 10, 2025
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed fit-to-screen not applying when layer-shell-cover-screen is disabled
parent
079eee12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
controlCenter.vala
src/controlCenter/controlCenter.vala
+5
-0
No files found.
src/controlCenter/controlCenter.vala
View file @
6af582b0
...
@@ -449,6 +449,10 @@ namespace SwayNotificationCenter {
...
@@ -449,6 +449,10 @@ namespace SwayNotificationCenter {
GtkLayerShell
.
set_anchor
(
this
,
GtkLayerShell
.
Edge
.
RIGHT
,
true
);
GtkLayerShell
.
set_anchor
(
this
,
GtkLayerShell
.
Edge
.
RIGHT
,
true
);
break
;
break
;
}
}
if
(
ConfigModel
.
instance
.
fit_to_screen
)
{
GtkLayerShell
.
set_anchor
(
this
,
GtkLayerShell
.
Edge
.
TOP
,
true
);
GtkLayerShell
.
set_anchor
(
this
,
GtkLayerShell
.
Edge
.
BOTTOM
,
true
);
}
else
{
switch
(
pos_y
)
{
switch
(
pos_y
)
{
default
:
default
:
case
PositionY
.
TOP
:
case
PositionY
.
TOP
:
...
@@ -464,6 +468,7 @@ namespace SwayNotificationCenter {
...
@@ -464,6 +468,7 @@ namespace SwayNotificationCenter {
}
}
}
}
}
}
}
// Set the box margins
// Set the box margins
box
.
set_margin_top
(
ConfigModel
.
instance
.
control_center_margin_top
);
box
.
set_margin_top
(
ConfigModel
.
instance
.
control_center_margin_top
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment