summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqdesktopwidget_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* TQDesktopWidget: move check for screenCount to isVirtualDesktop()HEADmasterAlexander Golubev10 hours1-4/+1
| | | | | | | | | As for now there is a problem: in case an application is running on a xinerama-capable screen and a new monitor gets attached to it later. TQDesktopWidget::isVirtualDesktop() keeps returning false even if we now have a desktop composed of two monitors. This patch fixes it. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* TQDesktopWidget: Fix SIGSEGV in case class is accessed before init()Alexander Golubev10 hours1-1/+1
| | | | | | | If screenCount/rects get accessed before init() it may result in SIGSEGV. Namely in TQDesktopWidget::resizeEvent() after recent changes. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* TQDesktopWidget::screenNumber: check default screen firstAlexander Golubev10 hours1-1/+5
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* TQDesktopWidget: backport changes from Qt4Alexander Golubev10 hours1-19/+52
| | | | | | | | | | | | | | | | | | The class was little changed during lifetime of Qt4, so it was possible to relatively easy backport them. This changeset is based on Qt4.8.7. The changes include: * This fixes several issues on "old-school multihead" X11 setups (with several screens per display i.e. when DISPLAY has form ":x.y" also known as "TDE_MULTIHEAD" or "Zaphod mode"). In particular: * fix graphical drag&drop problems across displays. * fix menus being displayed outside of the screen. * add screenCountChanged() signal * emit resized() signal See-also: https://github.com/qt/qt/blob/v4.8.7/src/gui/kernel/qdesktopwidget_x11.cpp Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Rename several symbols {qt=>tqt}Alexander Golubev12 days1-14/+14
| | | | | | | | | | | | | | Symbols renamed: * {qt=>tqt}_desktopwidget_update_workarea * {qt=>tqt}_desktopwidget_workarea_dirty * {qt=>tqt}_net_supports() * {qt=>tqt}_net_* * {qt=>tqt}_x11_create_desktop_on_screen All those are internal symbols; the changes don't affect API/ABI. No additional changes required. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tqdesktopwidget: cleanup indentsAlexander Golubev12 days1-85/+87
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Replace TRUE/FALSE with boolean values true/false - part 8Michele Calgaro2025-12-081-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*Michele Calgaro2024-10-221-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename private q* headers into equivalent tq*Michele Calgaro2024-09-131-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename environment class nt* related files to equivalent tq*Michele Calgaro2024-07-281-0/+356
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>