mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 09:00:26 -07:00
Added check for screenshots
This commit is contained in:
parent
40b1fc47a6
commit
d52be460c6
1 changed files with 3 additions and 0 deletions
|
|
@ -538,6 +538,9 @@ public final class client extends GameShell {
|
|||
|
||||
try {
|
||||
Window window = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusedWindow();
|
||||
if (window == null) {
|
||||
return;
|
||||
}
|
||||
Point point = window.getLocationOnScreen();
|
||||
int x = (int) point.getX();
|
||||
int y = (int) point.getY();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue