Skip to content

Commit 2c9b095

Browse files
lutienjgraham
authored andcommitted
Remove redundant 'has system focus' variable from 'get the client window info' algorithm.
1 parent 3b1939c commit 2c9b095

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.bs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,8 +2247,6 @@ To <dfn>get the client window info</dfn> given |client window|:
22472247

22482248
1. Let |state| be [=get the client window state=] with |client window|.
22492249

2250-
1. Let |has system focus| be false.
2251-
22522250
1. If |client window| can receive keyboard input channeled from the operating
22532251
system, let |active| be true, otherwise let |active| be false.
22542252

@@ -2263,8 +2261,8 @@ To <dfn>get the client window info</dfn> given |client window|:
22632261
[=client window/x-coordinate=], the <code>y</code> field set to |client
22642262
window|'s [=client window/y-coordinate=], the <code>width</code> field set to
22652263
|client window|'s [=client window/width=], the <code>height</code> field
2266-
set to |client window|'s [=client window/height=], and the
2267-
<code>active</code> field set to |has system focus|.
2264+
set to |client window|'s [=client window/height=], and the <code>active</code>
2265+
field set to |active|.
22682266

22692267
1. Return |client window info|
22702268

0 commit comments

Comments
 (0)