Aleix Pol
e824b98369
Take into account the primary screen can be redundant
...
We will always try to put our desktop view in the biggest screen, when 2
are overlapping.
12 years ago
Aleix Pol
d5a8783492
Delayed primaryOutput processing needs to be delayed
...
Don't process it right away
12 years ago
Marco Martin
47cd3ee329
hide the controller if the panel hides
12 years ago
l10n daemon script
553bfe129e
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
e0555d9ef1
SVN_SILENT made messages (.desktop file)
12 years ago
David Edmundson
8851c1b2e6
Remove uneeded code to stop alt+f4 killing the window
...
This fixes ksmserver not being able to logout or shutdown correctly as
it was unable to kill Plasma.
Tests showed that pressing alt+f4 no longer kills the window anyway
(possibly a change in kwin?)
BUG: 338360
REVIEW: 121004
12 years ago
Aleix Pol
91a5bce1cc
Delayed primaryOutput processing needs to be delayed
...
Don't process it right away
12 years ago
Aleix Pol
2ea83cf298
Remove unneeded sort to loop through the outputs
12 years ago
Aleix Pol
b16b90f108
Fix build
...
Apparently you need to have Qt 5.4 for using lambda with QTimer::singleShot
12 years ago
Aleix Pol
c07e590a90
Fix possible crash.
...
Add another check for not trying to figure out the plasma shell
in the plasmoid loading nested event loop.
I hate the incubator event loop with all my passion.
12 years ago
l10n daemon script
51f2849197
SVN_SILENT made messages (.desktop file)
12 years ago
Aleix Pol
47502b3064
Add the new desktop to the remaining output, not the actual new screen
...
The new screen might already have been adopted by an already-present
desktop.
12 years ago
Lukáš Tinkl
85433111d2
port to the correct HAVE_X11 define
12 years ago
l10n daemon script
352e87eec9
SVN_SILENT made messages (.desktop file)
12 years ago
Montel Laurent
a89d644c5e
port to new connect api
12 years ago
Montel Laurent
10224679af
clean forward declaration
12 years ago
Montel Laurent
240094e6b1
Remove not necessary include moc
12 years ago
Kai Uwe Broulik
112acf413e
Forward wheel events inside panel view
...
This makes it also forward wheel events in the same fashion as it does with clicks.
Restores Fitt's law for taskmanager wheeling.
A similar patch for plasma-frameworks dialog is needed as well.
BUG: 340412
BUG: 340488
REVIEW: 120894
12 years ago
Aleix Pol
f90d4acd99
Don't try to change the primary if we are already at the primary.
...
Reviewed by David Edmundson
12 years ago
l10n daemon script
651c6e5841
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
047e5051eb
don't mess with positions if the mouse is outside the view
12 years ago
Marco Martin
a20ceb2349
crash--, create the corona on heap
...
creating the corona on the stack makes the app crash on close, because
the corona tries to delete itself when the window closes.
this also meand this code will *not* leak
BUG:340191
12 years ago
l10n daemon script
683c131e75
SVN_SILENT made messages (.desktop file)
12 years ago
David Edmundson
6f29e43d12
Add missing const
12 years ago
David Edmundson
23a47c882f
typo--
12 years ago
Marco Martin
4996bf0a7f
comments++
12 years ago
Marco Martin
bd0673a7e8
proper event translation for all panel locations
12 years ago
Marco Martin
f56363c161
prototype for forwarding screen edge fake events
...
we need a visual margin in panels, but still manage screen
edges: just forward events at screen edges to the proper area
hardcoded for now, needs to take info from qml
12 years ago
l10n daemon script
758fa766b2
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
2f911ca9a3
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
92f9c24988
SVN_SILENT made messages (.desktop file)
12 years ago
Aleix Pol
ab084fbec3
--debug
12 years ago
Aleix Pol
03e5b76aaa
Fix warning
...
Don't try to disconnect from a null instance.
12 years ago
Aleix Pol
e875cc692a
Fix crash when disconnecting a screen when using Qt 5.4
...
The hack we used to have is not working anymore because they changed how
Qt works (And it was a hack after all).
On the other hand, on Qt 5.4 we can use the API I added for this purpose,
so listen to screen removed before the window is shuffled somewhere else
so we can cleanly remove the view.
Reviewed by DJ Edmundson
12 years ago
Aleix Pol
798721d866
Actively enforce that the panel is smaller than the screen.
...
When a screen is disconnected, the panel will be moved and the size
is still the one from the former screen, which could be bigger.
12 years ago
Aleix Pol
56b14c7b17
Ensure we are setting the Panel position when the containment changes
...
And before the Panel containment item is re-parented to the Panel contents.
REVIEW: 120584
12 years ago
Aleix Pol
eefca4383e
Ensure the panel is not placed outside the screen
...
On initialization, the panels' window size is 12x12, we can't use the
window size then, we need to use the thickness.
Also assert if we are setting the Panel's window outside of the screen, so
the problem doesn't happen again.
REVIEW: 120584
12 years ago
Aleix Pol
d801804271
--debug
12 years ago
Marco Martin
979981b876
signal availableScreenRectChanged on type change
...
signal a change on availableScreenRectChanged since
containments are born with their availableScreenRect at full screen
BUG:339412
12 years ago
Marco Martin
6140703561
remove bypasswindowmanagerhint
...
CCBUG:339848
12 years ago
l10n daemon script
99a52fbe24
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
ee05d5aec8
redeclare missing properties from Containment
...
Unlike QML, in QtScript you have to redeclare all the Q_PROPERTIES
of the superclass in all subclasses
BUG:337743
12 years ago
Marco Martin
38ff287404
check corona pointer
...
crash--
12 years ago
Marco Martin
ec9fffcc6a
positionPanel() just positions
...
panel jumps around less when resizing/controlling
CBUG:339207
CCBUG:337382
12 years ago
l10n daemon script
8d64abb2fa
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
7fa10ab427
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
868c28d623
check corona pointer
...
crash--
12 years ago
Marco Martin
ad39d0defd
positionPanel() just positions
...
panel jumps around less when resizing/controlling
CBUG:339207
CCBUG:337382
12 years ago
Marco Martin
726965e20b
fix center alignment for left panels
...
BUG:337403
12 years ago
Marco Martin
688f9bdb85
don't assign panels to desktops
12 years ago