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 <michele.calgaro@yahoo.it>
* twin: use separate bit to inhibit configure request messages. This resolves ↵Michele Calgaro2023-12-131-1/+1
| | | | | | issue #434. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace 'Event' #define stringsMichele Calgaro2023-12-021-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* twin: makes sure to notify an application on resizing events so that the ↵Michele Calgaro2023-12-011-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 <michele.calgaro@yahoo.it>
* 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 <michele.calgaro@yahoo.it>
* Replaced time related '#define' with actual stringsMichele Calgaro2023-11-231-4/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-211-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop TQT_BASE_OBJECT* definesMichele Calgaro2023-08-181-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* twin: update Qt:: -> TQt::Mavridis Philippe2023-08-121-14/+14
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* twin: Minor code cleanup and refactoringMavridis Philippe2023-07-101-27/+27
| | | | | | Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* 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 <mavridisf@gmail.com>
* 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