Negative coordinates change the popup menu origins:
* Negative X: origin is right edge instead of left;
* Negative Y: origin is bottom edge instead of top.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 6b30fb0791)
Before it only called slotWindowOperations(), which showed the operations menu of the current window at a preset position, ignoring all arguments passed to showWindowMenuAt.
This commit implpements the correct behaviour of the function which takes all arguments into account.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 6c0d9ec42e)
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>
(cherry picked from commit a9bd5b50e9)
Added special checks that make corner activation easier: we assume
a 25% zone on the edge of each border where instead of half size
tiling we perform quarter size tiling. The rest 50% is left for
normal half size tiling.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit becae3055b)
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>
(cherry picked from commit 31335a04ed)
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
In an environment where not everything is in /usr...
- drkonqi/CMakeLists.txt requires the libr library path to be specified.
- nsplugins/viewer/CMakeLists.txt requires the glib library path to be specified.
- tdm/backend/CMakeLists.txt was missing the include and link directories for libXau and libXDMCP.
- twin/compton-tde/CMakeLists.txt was missing include and link directories for the optionally selected libraries (libconfig, Xinerama, XRandR, OpenGL and PCRE).
Signed-off-by: aneejit1 <aneejit1@gmail.com>
[..]
In file included from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/common.h:102,
from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.h:10,
from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.c:12:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
[..]
For reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/pulls/64
Signed-off-by: Matías Fonzo <selk@dragora.org>