Commit graph

11001 commits

Author SHA1 Message Date
Thomas Lübking
93ef0226ba add configRequest rule update
REVIEW: 111193
2013-08-05 20:43:27 +02:00
Thomas Lübking
3c593f4357 remove nvidiahack lib
1. it apparently is ineffective
2. if it was effective, it's current behavior would be not exactly helpful
   (sets __GL_YIELD to NOTHING, causing busy waits on doublebuffer swapping)
3. it does for sure pollute the doublebuffer/usleep detection (setenv is set to override),
   ie. the overehad detection code gets a different opinion on __GL_YIELD than libGL

REVIEW: 111858
CCBUG: 322060
2013-08-05 20:43:27 +02:00
Kai Uwe Broulik
e6f4fc54c5 Merge branch 'KDE/4.11' 2013-08-05 16:34:10 +02:00
Martin Gräßlin
7bd86505f5 Port add/remove buttons in DesktopGrid to QtQuick 2
With this change we no longer need to link QtDeclarative in the Effects.
2013-08-05 14:55:37 +02:00
Martin Gräßlin
47cf35720f Present Window's close button ported to QtQuick 2 2013-08-05 14:08:23 +02:00
Martin Gräßlin
35bb48df2c Small update to the needed target link libs 2013-08-05 11:33:35 +02:00
Anselmo L. S. Melo
633db54cba Fix build: KConfigWidgets
Fix build after kdelibs-frameworks commit 2929fe7d932 which removed kdeui link to
KConfigWidgets.

REVIEW: 111865
2013-08-05 11:04:41 +02:00
Martin Gräßlin
bd18adcbee kdefakes.h got removed 2013-08-05 11:02:11 +02:00
Martin Gräßlin
f8092ded4e Remove KLocalizedString::insertCatalog from Oxygen
It got removed in frameworks recently and it seems like their is no
replacement. Therefore all of them are currently removed. Also there are
no porting guides yet for i18n.
2013-08-05 10:40:00 +02:00
Martin Gräßlin
330003cdee Replacement for XEvent queue inspection in FocusOut event case
Instead of inspecting the XEvent queue we create a Timer with a
singleshot of 0 msec to move the setActive(false) call to the end of the
event handling. In case there is a matching FocusIn event this will be
handled before the timer fired and can cancel the timer.
2013-08-05 09:48:14 +02:00
Martin Gräßlin
b90c2c0e6a Modern variant of forEachClient/forEachUnmanaged
Takes a std::function as argument which allows to pass a lambda function
which gets executed for each client/unmanged:

ws->forEachClient([](Client *client) {
    client->releaseWindow();
});
2013-08-05 09:42:10 +02:00
l10n daemon script
71a4814f4c SVN_SILENT made messages (.desktop file) 2013-08-05 06:54:55 +00:00
l10n daemon script
30aac961f0 SVN_SILENT made messages (.desktop file) 2013-08-05 04:16:04 +00:00
l10n daemon script
ba0be05c78 SVN_SILENT made messages (.desktop file) 2013-08-04 04:29:45 +00:00
l10n daemon script
ca6b7653c0 SVN_SILENT made messages (.desktop file) 2013-08-03 04:00:09 +00:00
Thomas Lübking
a18cf4fd35 Merge branch 'KDE/4.11' 2013-08-02 22:08:49 +02:00
Thomas Lübking
90615561e4 desk-grid: bind sc editor keyChange to kcm changed
BUG: 316177
FIXED-IN: 4.11
REVIEW: 111812
2013-08-02 22:07:10 +02:00
Thomas Lübking
6c420f2b11 don't require geometry changes for quick max/tile
the present check can break quick everything depending
on screen snapping settings.
It so far. only worked for quick maximization due to horizontal
"judder" and failed whenever that judder was not possible
(due to screen snapping on left and/or right edge)

BUG: 322852
FIXED-IN: 4.11
REVIEW: 111740
2013-08-02 22:04:28 +02:00
Thomas Lübking
ac32664dc1 keep buffer swap pref automatic until GPU detected
enforce to "e" (cheap) when driver is still unknown after
detection must be assumed to have run, so a sane value is available
when the context is up

BUG: 322355
FIXED-IN: 4.11
REVIEW: 111548
2013-08-02 22:03:54 +02:00
Thomas Lübking
2f5ceb15e4 exit cube on doubleclick
more natural than (preserved) rmb exit and also for
single touch devices

REVIEW: 111730
2013-08-02 22:02:42 +02:00
Thomas Lübking
bc80d2417a re-fix bouncing startup feedback
BUG: 304253
FIXED-IN: 4.11
REVIEW: 111729
2013-08-02 22:01:25 +02:00
Thomas Lübking
f4827fbac9 update packing logics to honor activities and tabs
at the same time using MaximizeArea instead MoveArea

ratio:
movearea allows to pack windows under panels and while
one can expect users of packing to know alt+lmb, we usually
do not allow to loose the titlebar

Moreover this relies on packing against dock windows what
fails with "virtual" struts as input shaping panels
(eg. cairo-dock?) might use (ie. we we would also have packed
against plasma panel shadows - back then ;-)

BUG: 180084
REVIEW: 111603
FIXED-IN: 4.11
2013-08-02 22:00:45 +02:00
Thomas Lübking
50e3e909da prevent yield/swap cpu overhead on nvidia
CCBUG: 322060
REVIEW: 111663
2013-08-02 22:00:33 +02:00
Thomas Lübking
bac8dc095f fix rendertarget warning on xrender
accidental GL call in non GL compositing
2013-08-02 21:59:55 +02:00
Thomas Lübking
57485cfefc fix magnifier effect exit
precision is usually enough to end on exactly "1.0"
so the effect was "hidden" but the mouse still polled.
2013-08-02 21:58:32 +02:00
Martin Gräßlin
4b97fb542e Enable passing xcb events through NETRootInfo and NETWinInfo
Requires ab8f4532f5f12db19bcc09c1f297f1b7d55efb48 from frameworks.
2013-08-02 13:53:21 +02:00
Martin Gräßlin
41bb797919 Fix Client unmapNotify event handling
We get the missing send event attribute from anding the event's
response type with 0x80.

This fixes the issue that all open windows got unmapped. The reason for
this was that the existing new Client got reparented to the wrapper which
caused the UnmapNotify event which we used to release the Client and by
that unmapping the window completely.
2013-08-02 10:30:25 +02:00
Martin Gräßlin
4193b2406f Use XCB to query the window tree in xStackingOrder 2013-08-02 10:30:25 +02:00
Hugo Pereira Da Costa
635e1243e7 Removed unnecessary Qt path in includes. 2013-08-02 09:39:09 +02:00
Martin Gräßlin
22e2efea22 QX11Info is no longer in QtGui 2013-08-02 08:37:36 +02:00
Martin Gräßlin
469828c847 Cache display and rootWindow
No need to go through the QPA interface each time we access the
Display variable or need the root window.
2013-08-02 08:31:53 +02:00
Martin Gräßlin
65f6db4312 Do an XSync before trying to claim the manager selection
I was getting weird crashes inside the QPA without it.
2013-08-02 08:29:15 +02:00
Hugo Pereira Da Costa
53666c655c Added KConfigWidget to linking 2013-08-01 20:28:43 +02:00
Hugo Pereira Da Costa
43c4594fac - added HAVE_X11 definition (needed for demo code)
- re-included compilation of demo code
- removed linking against kde4support.
2013-08-01 20:20:44 +02:00
Hugo Pereira Da Costa
8839e86e50 removed KDebug 2013-08-01 20:20:27 +02:00
Hugo Pereira Da Costa
d29a9c43c3 Fixed compilation against qt5/kf5 2013-08-01 20:19:37 +02:00
Hugo Pereira Da Costa
e261b3b20c re-enabled compilation of the 'config' code 2013-08-01 19:38:54 +02:00
Hugo Pereira Da Costa
70553ce8a2 kmessagebox -> qmessagebox 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
b993d576c9 fixed compilation against qt5 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
e80da066ff ktabwidget -> qtabwidget 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
49362532ff kpushbutton -> qpushbutton 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
c00fdade17 moved dialog layout to ui 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
965aaabda8 moved QDialog layout to ui for DetectWidget. 2013-08-01 19:38:52 +02:00
Martin Gräßlin
d90d0f5c8e Improve event handling for screen edge activation on XCB
It still doesn't trigger properly - might be fixed if KDE/4.11 gets
merged into this branch again.
2013-08-01 11:36:38 +02:00
Kai Uwe Broulik
adfb95dca3 Merge branch 'KDE/4.11' 2013-08-01 10:46:48 +02:00
Martin Gräßlin
c16c0c3753 Port invert screen from XLib xrandr to xcb randr
With this we can drop the linking to xrandr in KWin core.
2013-08-01 10:26:39 +02:00
Martin Gräßlin
becb5c2dc1 Port detection of screen rate to XCB
New wrapper class added to xcbutils in a new RandR namespace.
2013-08-01 08:38:05 +02:00
Martin Gräßlin
36429c0010 Fix loading of scripted effects
Port to QStandardPaths was incorrect - well it was a guess which I
couldn't test...
2013-08-01 08:04:31 +02:00
Martin Gräßlin
bd7da7ccd0 Bring back shadows
Main problem here was that it still used fromX11Pixmap. It's changed to
XCB and gets the image data with xcb_get_image, constructs a QImage from
retrieved data and copies it to QPixmap. That's performing a deep copy
which we want (and also had in the old code).
2013-07-31 15:25:39 +02:00
Martin Gräßlin
e225cda87f Also tests need to link KDE4Support for kdebug
That's what you get for disabling the tests...
2013-07-31 14:26:45 +02:00