Skip to content

Commit

Permalink
Fixed Control Center sometimes dismissing when clicking inside of CC
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Aug 6, 2022
1 parent 14a3276 commit 87840b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controlCenter/controlCenter.vala
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ namespace SwayNotificationCenter {
private bool blank_window_press (Gdk.Event event) {
// Calculate if the clicked coords intersect the ControlCenter
double x, y;
event.get_coords (out x, out y);
event.get_root_coords (out x, out y);
Gdk.Rectangle click_rectangle = Gdk.Rectangle () {
width = 1,
height = 1,
Expand Down

0 comments on commit 87840b3

Please sign in to comment.