summaryrefslogtreecommitdiffstats
path: root/twin/events.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-161-2/+2
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* twin: use separate bit to inhibit configure request messages. This resolves ↵Michele Calgaro2023-12-131-1/+1
| | | | | | | issue #434. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit f5bdd235fc583f6674581df993165b9e7ae8774c)
* Replace 'Event' #define stringsMichele Calgaro2023-12-021-5/+5
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
* twin: makes sure to notify an application on resizing events so that the ↵Michele Calgaro2023-12-021-0/+5
| | | | | | | window contents can get updated. This is particularly important for Virtual Terminal based application. This resolves issue TDE/tde#57 and issue #384. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5590077e66774b629235516744993014360c3d25)
* Fix unwanted window resizing. This resolves issue TDE/tde#57.Michele Calgaro2023-11-261-1/+1
| | | | | | | Some applications (like xfce4-terminal) try to manage their sizes by requesting the window manager a different size. The WM responds by resizing the window and the application tries once again to adjust its own size. This can lead to a repeated loop of request-resize which results in the application window to either shrink to the minimum allowed size or expand to the display size. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a9bd5b50e9b77b8b360dd3620013a320733139aa)
* Replaced time related '#define' with actual stringsMichele Calgaro2023-11-231-4/+4
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 81ad1f9e3c9d494edc38a7aad96fdcab9d44a795)
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-211-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 100f977221b7319815eb9617f56a067cb0383853)
* Drop TQT_BASE_OBJECT* definesMichele Calgaro2023-08-181-2/+2
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
* twin: update Qt:: -> TQt::Mavridis Philippe2023-08-121-14/+14
| | | | | Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
* twin: Minor code cleanup and refactoringMavridis Philippe2023-07-101-27/+27
| | | | | | | Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c)
* TWin: Active borders and snap tilingMavridis Philippe2023-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This commit is a squash of the commits of TDE/tdebase#331. In short, this backports some improvements to existing electric border functionality from KDE, adds the snap tiling (or aerosnap) feature and brings rudimentary support for active corners, which will be fully implemented in a later PR. The options dialog and the documentation has been updated to reflect these changes. Additionally, a new relevant option is introduced: an option for restoring the original size of maximized/tiled windows when the user starts dragging them. The option is set to be off by default, preserving the traditional behaviour of KDE 3.x/TDE. Last but not least, the term "electric" in relation to borders and corners is replaced by "active" for clarity to the users. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 31335a04ed9bc01fd3ede33afde40d6f3359f2e9)
* Send setActive signal when taking focus in Client::takeFocusTimothy Pearson2014-11-291-2/+2
| | | | | This relates to Bug 2189 Clean up minor formatting issues
* Call setActive if new focus window is found and set when rotating focus to ↵Timothy Pearson2014-11-211-1/+1
| | | | | | next available window This resolves Bug 2189
* Rename additional global functions and variables for tqt3Timothy Pearson2012-03-021-53/+53
|
* Remove additional unneeded tq method conversionsTimothy Pearson2011-12-191-2/+2
|
* Revert "Rename a number of old tq methods that are no longer tq specific"Timothy Pearson2011-12-161-2/+2
| | | | This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
* Rename a number of old tq methods that are no longer tq specificTimothy Pearson2011-12-151-2/+2
|
* Rename additional KDE stringsTimothy Pearson2011-12-081-1/+1
|
* Rename kwin to twin (Part 2 of 2)Timothy Pearson2011-11-071-0/+1784