[gnome-shell-sass] locatePointer: Add implementation in gnome-shell



commit 232a4bcdad868b59c929000c2d9b54117968b1d6
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Feb 20 10:12:36 2019 +0100

    locatePointer: Add implementation in gnome-shell
    
    The "locate pointer" functionality was implemented in gnome settings
    daemon using X11 protocols and would fail when run under Wayland.
    
    With Wayland, there is no global coordinate space exposed to the clients
    so this functionality cannot be implemented as a separate program.
    
    Instead, add the "locate pointer" functionality in gnome-shell so that
    it works in both X11 and Wayland.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
    https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
    https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86

 _common.scss | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/_common.scss b/_common.scss
index 64cc612..c8c53d5 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1159,6 +1159,15 @@ StScrollBar {
   border: 1px solid $selected_bg_color;
 }
 
+// Pointer location
+.ripple-pointer-location {
+  width: 50px;
+  height: 50px;
+  border-radius: 25px 25px 25px 25px; // radius the size of the box give us the curve
+  background-color: lighten(transparentize($selected_bg_color, 0.7), 30%);
+  box-shadow: 0 0 2px 2px lighten($selected_bg_color, 20%);
+}
+
 // not really top bar only
 .popup-menu-arrow { icon-size: 1.09em; }
 .popup-menu-icon { icon-size: 1.09em; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]