Commit Graph

14 Commits

Author SHA1 Message Date
Sergio Martins
9dbe5114e2 Don't allow non-client drag while there's a client drag going on 2019-07-31 15:39:08 +01:00
Sergio Martins
2101e4be26 Aero-snap: Fix maximization behavior
- Maximized windows were being clipped
- Double click no longer maximizes
2019-07-30 18:41:37 +01:00
Sergio Martins
65953c2846 Fix title bar buttons not working with aero-snap
We can't return HTCAPTION for those.

Also fixes the used title bar geometry. It was using the geometry
of the hidden titlebar. Use actualTitleBar() instead.
2019-07-30 17:43:03 +01:00
Sergio Martins
5c4c836f30 Move aerosnap implementation into cpp file 2019-07-30 17:23:30 +01:00
Sergio Martins
93a0377717 Don't allow to resize when clicking on the middle
It was using mCursorPos from previous invocations
2019-07-30 14:42:58 +01:00
Sergio Martins
6550939f0c Fix typos 2019-07-30 11:00:54 +01:00
Sergio Martins
a8d0f35d2d Don't use WidgetResizeHandler for non-top level DockWidgets
This conflicted with the SeparatorWidget mouse handling, which
made the Separator not respond some times
2019-07-08 16:34:06 +01:00
Sergio Martins
38a61fa691 Move WidgerResizeHandler into KDDockWidgets namespace 2019-04-29 22:53:42 +01:00
Sergio Martins
36e7053476 Rename WidgetResizeHandlerBase to WidgetResizeHandler 2019-04-29 22:51:07 +01:00
Sergio Martins
139518405c Remove unneeded hierarchy from WidgetResizeHandler
A single one is enough
2019-04-29 22:45:17 +01:00
Allen Winter
7241bf6794 various - move Author to its own line 2019-04-24 13:02:32 -04:00
Allen Winter
1574986a1b various - update copyright year
also run dos2unix on a few files with CRLFs
2019-04-24 11:13:38 -04:00
Sergio Martins
87f2325c71 Fix copyrights 2019-04-24 15:27:04 +01:00
Sergio Martins
e43b673858 Initial commit 2019-04-24 14:49:01 +01:00