aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeEmbedWidget.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-07-13 15:49:07 -0400
committerKen Moore <ken@ixsystems.com>2017-07-13 15:49:07 -0400
commitc6cf1c1799aa3e6f095cae0aa579e0ea2971340e (patch)
tree076172d50c8e4cd98970295a020f72643d151013 /src-qt5/core/libLumina/NativeEmbedWidget.cpp
parentLarge update to the window embedding systems - almost have the compositing up... (diff)
downloadlumina-c6cf1c1799aa3e6f095cae0aa579e0ea2971340e.tar.gz
lumina-c6cf1c1799aa3e6f095cae0aa579e0ea2971340e.tar.bz2
lumina-c6cf1c1799aa3e6f095cae0aa579e0ea2971340e.zip
Start working on getting the frame extents set/used properly. Still off on the geom calculations right now.
Diffstat (limited to 'src-qt5/core/libLumina/NativeEmbedWidget.cpp')
-rw-r--r--src-qt5/core/libLumina/NativeEmbedWidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/NativeEmbedWidget.cpp b/src-qt5/core/libLumina/NativeEmbedWidget.cpp
index fd5939dd..194652f0 100644
--- a/src-qt5/core/libLumina/NativeEmbedWidget.cpp
+++ b/src-qt5/core/libLumina/NativeEmbedWidget.cpp
@@ -89,6 +89,7 @@ QImage NativeEmbedWidget::windowImage(QRect geom){
image.loadFromData(img->data, img->size);
return image;*/
+ return QImage();
}
// ============
@@ -145,6 +146,7 @@ bool NativeEmbedWidget::embedWindow(NativeWindow *window){
bool NativeEmbedWidget::detachWindow(){
xcb_reparent_window(QX11Info::connection(), WIN->id(), QX11Info::appRootWindow(), -1, -1);
WIN = 0;
+ return true;
}
bool NativeEmbedWidget::isEmbedded(){
bgstack15