Skip to content

Commit

Permalink
Fix docs suggesting that it's possible to draw to the X11 screen
Browse files Browse the repository at this point in the history
It's not possible anymore, since many years. The desktop's don't use the
X11 root window anymore :)

Fixes: QTBUG-82880
Change-Id: I923f29f23e61d93640cacb2ac20620c5ddc480b9
Reviewed-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
tronical committed Mar 17, 2020
1 parent 0677525 commit 8337684
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/widgets/kernel/qapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2695,8 +2695,6 @@ void QApplicationPrivate::sendSyntheticEnterLeave(QWidget *widget)
QDesktopWidget has various functions for obtaining useful geometries upon
the desktop, such as QDesktopWidget::screenGeometry() and
QDesktopWidget::availableGeometry().
On X11, it is also possible to draw on the desktop.
*/
QDesktopWidget *QApplication::desktop()
{
Expand Down

0 comments on commit 8337684

Please sign in to comment.