- 16 Oct, 2017 3 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
Summary: The Platform API is extended by a call to create the EffectsHandler. In X11 standalone Platform a new EffectsHandlerImplX11 is added which contains the X11 only parts of the EffectsHandler, such as grabbing the X keyboard and the X11 mouse interception window. The EffectsHandlerImpl gains some virtual methods for the parts which are now done in the X11 specific implementation. In return we get rid of lots of if-else structures checking for the operation mode. Test Plan: Only compile tested. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7955
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 15 Oct, 2017 5 commits
-
-
Alexander Potashev authored
-
Alexander Potashev authored
-
Martin Flöser authored
Summary: In a bug report there was a reference that on multi-screen KSplash is not placed correctly. I investigated and noticed that it is an OSD which sets an own position. In KWin the events were processed correctly but the position was off. The problem is that KWin has code to correct the position of an OSD when it's size changes. This happens also on first damage and then the window gets incorrectly placed when the position is set. So honor that the position is set. Test Plan: Restarted the session, ksplash positioned correctly now. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8268
-
Martin Flöser authored
-
Martin Flöser authored
Summary: This fixes the following problem: 1. Have two windows maximized 2. Click minimize button on first window 3. Click minimize button on second window What happened: Second click was ignored as the pointer was not updated. BUG: 378704 FIXED-IN: 5.11 Test Plan: Nested KWin/Wayland, added two maximized windows, minimized both without moving the mouse Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8145
-
- 14 Oct, 2017 2 commits
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 13 Oct, 2017 3 commits
-
-
Marco Martin authored
Summary: not sure if that is the right "parent" that has to be set, set the transient for surfaces that have setParentOf of an imported set Test Plan: m_XdgForeign->transientFor(surface()) finds the surface is expected, not sure how to test it further Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: luebking, graesslin, davidedmundson, plasma-devel, kwin, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D7521
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 12 Oct, 2017 3 commits
-
-
Alexander Potashev authored
One may install several scripts.
-
David Edmundson authored
-
David Edmundson authored
Summary: In 47343fb8 we made GBM buffer shared. What we wanted to do was: Unbox the shared_pointer<GBMSurface> to give us a GBMSurface* object Call the gbm_surface*() on that operator Then cast that to a void* for eglCreatePlatformWindowSurfaceEXT What we did: Cast the std::shared_ptr<GBMSurface> to a gbm_surface* then cast that to void*. This is just a garbage value and it crashes in Mesa when we do our first paint. I've replaced that with an explicit method then we can use shared_ptr's -> operator rather than get() which does the right thing in a readable way. Test Plan: It crashed after rebasing to master (for Aleix too) No longer crashes Reviewers: #plasma Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8251
-
- 11 Oct, 2017 3 commits
-
-
David Edmundson authored
Summary: In 47343fb8 we made GBM buffer shared. What we wanted to do was: Unbox the shared_pointer<GBMSurface> to give us a GBMSurface* object Call the gbm_surface*() on that operator Then cast that to a void* for eglCreatePlatformWindowSurfaceEXT What we did: Cast the std::shared_ptr<GBMSurface> to a gbm_surface* then cast that to void*. This is just a garbage value and it crashes in Mesa when we do our first paint. I've replaced that with an explicit method then we can use shared_ptr's -> operator rather than get() which does the right thing in a readable way. Test Plan: It crashed after rebasing to master (for Aleix too) No longer crashes Reviewers: #plasma Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8251
-
Martin Flöser authored
-
Martin Flöser authored
-
- 10 Oct, 2017 1 commit
-
-
Martin Flöser authored
Based on patch for kinit: D8064.
-
- 09 Oct, 2017 1 commit
-
-
Martin Flöser authored
-
- 07 Oct, 2017 3 commits
-
-
Martin Flöser authored
Summary: Prepares the Rules update on reconfigure for Wayland windows. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8094
-
Martin Flöser authored
Summary: So far window rule specific functionality was only implemented in Client and in ShellClient there was only a dummy implementation. This change moves the client_rules member variable from Client to AbstractClient. Areas which would not compile anymore are adjusted. This is a first step to get window rule support for Wayland windows. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8090
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 06 Oct, 2017 1 commit
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 05 Oct, 2017 5 commits
-
-
Martin Flöser authored
Summary: The gbm_surface is owned by the EglGbmBackend, but it's not the only one using it. The DrmSurfaceBuffer is also using it and needs it to destroy the gbm_bo. Now this can become a problem in the following situation: * a page flip is still pending * the EglGbmBackend destroys the gbm_surface -> when the page flip happens the DrmSurfaceBuffer will try to destroy the gbm_bo and crash as the gbm_surface is no longer valid. This situation can happen when switching screens or when switching compositing backend (OpenGL 2 -> OpenGL 3). To address this problem a class GbmSurface is added which wrapps the gbm_surface pointer. The EglGbmBackend creates and holds a shared pointer to the GbmSurface and passes that one to the DrmSurfaceBuffer. So when cleaning up the gbm_surface only the shared pointer is reset and in case the DrmSurfaceBuffer still needs it, it can access it without problems. BUG: 385372 FIXED-IN: 5.11.0 Test Plan: Not yet Reviewers: #kwin, #plasma, subdiff Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8152
-
Martin Flöser authored
With the new Wayland only mode we start too fast and it can happen that the initWithWorkspace is called before the client connection is fully setup. This would result in a crash in the idletime plugin once it tries to create a seat. To prevent this problem the code is split out into a dedicated method and only invoked if all interfaces have been announced on the internal connection. BUG: 385397 FIXED-IN: 5.11.1
-
Jonathan Riddell authored
GIT_SILENT
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 04 Oct, 2017 3 commits
-
-
Martin Flöser authored
-
David Edmundson authored
-
Hartmut Goebel authored
guix (like nix) used a separate prefix for each package. Thus the header files for qtdeclarative are in /gnu/store/…-qtdeclarative-5.9.1/include/qt5/ while the ones for qtbase are in /gnu/store/…-base-5.9.1/include/qt5/. This means that *each* dependency's include directory must be specified. This is in contrast to a "normal" Unix-system, where all includes end up in /usr/include/qt5 and missing to defined some include-dependencies does often not raise an error. Differential Revision: https://phabricator.kde.org/D8112
-
- 03 Oct, 2017 1 commit
-
-
Martin Flöser authored
Egl support is not optional in virtual platform, so always compile it in. BUG: 385301
-
- 02 Oct, 2017 3 commits
-
-
David Edmundson authored
-
David Edmundson authored
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 01 Oct, 2017 3 commits
-
-
Martin Flöser authored
Summary: The load method and updateLayout ensure the virtual desktop information is synced to RootInfo and thus to other X11 applications. Thus we need to call it again when initing X11. BUG: 385260 Test Plan: Not tested as I'm on Wayland, but given the changes it's obvious. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8086
-
Martin Flöser authored
It's confusing to search for usages of ClientList::Iterator and then discover it's all just commented out. Before falling another time over it: let's remove it.
-
Martin Flöser authored
-