History

Cosmetics

malc committed 5 years ago

Commit e712e681 parent 71bf6bc1 file · +5 −7Browse files

Unified · Split

wsi/x11/wsi.ml+5−7
@@ -145,6 +145,11 @@ let state = · 144 unmodified lines
145 }145 }
146;;146;;
147 147
148let settitle s = state.setwmname (~> s);;
149let fullscreen () = state.fullscreen state.wid;;
150let fontsizescale n = float n *. state.fscale |> truncate;;
151let setmapc f = state.mapc <- f;;
152
148let ordermagic = 'l';;153let ordermagic = 'l';;
149let metamask = 0x40;;154let metamask = 0x40;;
150let altmask = 8;;155let altmask = 8;;
@@ -1181,8 +1186,6 @@ let init t w h = · 1030 unmodified lines
1181 fd, state.w, state.h;1186 fd, state.w, state.h;
1182;;1187;;
1183 1188
1184let settitle s = state.setwmname (~> s);;
1185
1186let setcursor cursor =1189let setcursor cursor =
1187 if cursor != state.curcurs1190 if cursor != state.curcurs
1188 then (1191 then (
@@ -1191,8 +1194,6 @@ let setcursor cursor = · 2 unmodified lines
1191 )1194 )
1192;;1195;;
1193 1196
1194let fullscreen () = state.fullscreen state.wid;;
1195
1196let xlatt, xlatf =1197let xlatt, xlatf =
1197 let t = Hashtbl.create 201198 let t = Hashtbl.create 20
1198 and f = Hashtbl.create 20 in1199 and f = Hashtbl.create 20 in
@@ -1280,6 +1281,3 @@ let ks2kt = · 81 unmodified lines
1280 | code when code land 0xff00 = 0xff00 -> Ctrl code1281 | code when code land 0xff00 = 0xff00 -> Ctrl code
1281 | code -> Code code1282 | code -> Code code
1282;;1283;;
1283
1284let fontsizescale n = float n *. state.fscale |> truncate;;
1285let setmapc f = state.mapc <- f;;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t