File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1016,7 +1016,7 @@ mod desktop {
10161016 pub sid : String ,
10171017 pub username : String ,
10181018 pub uid : String ,
1019- pub protocal : String ,
1019+ pub protocol : String ,
10201020 pub display : String ,
10211021 pub xauth : String ,
10221022 pub home : String ,
@@ -1027,12 +1027,12 @@ mod desktop {
10271027 impl Desktop {
10281028 #[ inline]
10291029 pub fn is_wayland ( & self ) -> bool {
1030- self . protocal == DISPLAY_SERVER_WAYLAND
1030+ self . protocol == DISPLAY_SERVER_WAYLAND
10311031 }
10321032
10331033 #[ inline]
10341034 pub fn is_login_wayland ( & self ) -> bool {
1035- super :: is_gdm_user ( & self . username ) && self . protocal == DISPLAY_SERVER_WAYLAND
1035+ super :: is_gdm_user ( & self . username ) && self . protocol == DISPLAY_SERVER_WAYLAND
10361036 }
10371037
10381038 #[ inline]
@@ -1271,7 +1271,7 @@ mod desktop {
12711271 self . sid = seat0_values[ 0 ] . clone ( ) ;
12721272 self . uid = seat0_values[ 1 ] . clone ( ) ;
12731273 self . username = seat0_values[ 2 ] . clone ( ) ;
1274- self . protocal = get_display_server_of_session ( & self . sid ) . into ( ) ;
1274+ self . protocol = get_display_server_of_session ( & self . sid ) . into ( ) ;
12751275 if self . is_login_wayland ( ) {
12761276 self . display = "" . to_owned ( ) ;
12771277 self . xauth = "" . to_owned ( ) ;
You can’t perform that action at this time.
0 commit comments