aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootSubWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-30 15:24:15 -0400
committerKen Moore <ken@ixsystems.com>2017-08-30 15:24:15 -0400
commitc6ac1a490e8f7889d594b2641a4d4e8e8b8f5c60 (patch)
tree8990b5239bfec9a7c0e3156dab1346e270fa98a0 /src-qt5/core/libLumina/RootSubWindow.h
parentQuick update to lumina-textedit: (diff)
downloadlumina-c6ac1a490e8f7889d594b2641a4d4e8e8b8f5c60.tar.gz
lumina-c6ac1a490e8f7889d594b2641a4d4e8e8b8f5c60.tar.bz2
lumina-c6ac1a490e8f7889d594b2641a4d4e8e8b8f5c60.zip
A bit more for Lumina2:
1) Get a simple "DISABLE_COMPOSITING" flag working in the NativeEmbedWidget class, and disable the compositing right now (still too many issues with using GPU-accellerated drivers) 2) Get a WM settings file created and add options for "focusFollowsMouse" (true by default) and "raiseOnFocus" (false by default). 3) Add a way for the root window to announce mouse cursor movements to the screensaver, bypassing the XCB event system (can't seem to get it to report those events anyway right now). Probably a better method anyway since moving the mouse won't cause billions of events in a short time then. With this, it seems like all the mouse cursor management systems are up and running. I have not tested using shortcuts combined with mouse buttons yet though....
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.h')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.h b/src-qt5/core/libLumina/RootSubWindow.h
index d8b8fd33..f87d7733 100644
--- a/src-qt5/core/libLumina/RootSubWindow.h
+++ b/src-qt5/core/libLumina/RootSubWindow.h
@@ -67,6 +67,7 @@ private:
public slots:
void giveMouseFocus(){ WinWidget->raiseWindow(); }
void removeMouseFocus(){ WinWidget->lowerWindow(); }
+ void giveKeyboardFocus(){ WIN->requestProperty(NativeWindow::Active, true); }
void clientClosed();
void LoadAllProperties();
bgstack15