Skip to content

Commit 192cd2f

Browse files
committed
Change drawPoint() method to draw the cross (x).
1 parent 7834ddf commit 192cd2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ui/x11/x11_ui.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ void UiWindowX11::_display()
5454
XSetForeground( _uiDisplay, defaultGC, _point[i].second );
5555
XDrawLine( _uiDisplay, _window, defaultGC, static_cast<int>(point.x - 1), static_cast<int>(point.y - 1),
5656
static_cast<int>(point.x + 1), static_cast<int>(point.y + 1) );
57+
XDrawLine( _uiDisplay, _window, defaultGC, static_cast<int>(point.x - 1), static_cast<int>(point.y + 1),
58+
static_cast<int>(point.x + 1), static_cast<int>(point.y - 1) );
5759
}
5860

5961
for ( size_t i = 0u; i < _lines.size(); ++i ) {

0 commit comments

Comments
 (0)