Hello community,
here is the log from the commit of package kdebase4-workspace for
openSUSE:Factory checked in at 2015-01-03 22:02:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdebase4-workspace (Old)
and /work/SRC/openSUSE:Factory/.kdebase4-workspace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdebase4-workspace"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdebase4-workspace/kdebase4-workspace.changes
2014-11-19 20:27:15.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.kdebase4-workspace.new/kdebase4-workspace.changes
2015-01-03 22:02:11.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Dec 17 13:14:22 UTC 2014 - [email protected]
+
+- Added kdm-fix-input-focus.patch: fixes keyboard input in kdm's
+ dialogs (boo#772344, kde#338018)
+
+-------------------------------------------------------------------
New:
----
kdm-fix-input-focus.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebase4-workspace.spec ++++++
--- /var/tmp/diff_new_pack.wntGEy/_old 2015-01-03 22:02:12.000000000 +0100
+++ /var/tmp/diff_new_pack.wntGEy/_new 2015-01-03 22:02:12.000000000 +0100
@@ -104,6 +104,8 @@
# Patch is based on the changes within GDM to detect running plymouth
# and issue a quit to the plymouth daemon
Patch15: kdm_plymouth.patch
+# PATCH-FIX-OPENSUSE kdm-fix-input-focus.patch [email protected] -- Fixes keyboard
input in kdm's dialogs (boo#772344, kde#338018)
+Patch16: kdm-fix-input-focus.patch
## Workspace patches
# PATCH-FIX-OPENSUSE startkde.diff -- Injects branded startupconfigkeys to
users $KDEHOME, and adds %datadir/kde4/env
# to list of read enviroments
@@ -373,6 +375,7 @@
%patch13
%patch14 -p1
%patch15 -p1
+%patch16 -p1
## Workspace patches
%patch50
%patch51
++++++ kdm-fix-input-focus.patch ++++++
diff --git a/kdm/kfrontend/kfdialog.cpp b/kdm/kfrontend/kfdialog.cpp
index 3f6fa84..f6751a4 100644
--- a/kdm/kfrontend/kfdialog.cpp
+++ b/kdm/kfrontend/kfdialog.cpp
@@ -149,7 +149,7 @@ FDialog::exec()
if (_grabInput)
fakeFocusIn(winId());
else
- activateWindow();
+ XSetInputFocus(QX11Info::display(), winId(), RevertToParent,
CurrentTime);
QWidget *previous = current;
current = this;
inherited::exec();
@@ -158,7 +158,7 @@ FDialog::exec()
if (_grabInput)
fakeFocusIn(current->winId());
else
- current->activateWindow();
+ XSetInputFocus(QX11Info::display(), current->winId(),
RevertToParent, CurrentTime);
} else {
if (_grabInput)
unsecureInputs(QX11Info::display());
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]