OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faca1de
)
use enum type for QX11Data::focus_model
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 23:55:20 +0000
(23:55 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 23:55:20 +0000
(23:55 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/kernel/qt_x11_p.h
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qt_x11_p.h
b/src/gui/kernel/qt_x11_p.h
index
7faf878
..
0937e32
100644
(file)
--- a/
src/gui/kernel/qt_x11_p.h
+++ b/
src/gui/kernel/qt_x11_p.h
@@
-190,12
+190,12
@@
struct QX11Data
char *displayName;
bool foreignDisplay;
// current focus model
- enum {
+ enum
FocusModel
{
FM_Unknown = -1,
FM_Other = 0,
FM_PointerRoot = 1
};
-
int
focus_model;
+
FocusModel
focus_model;
// true if Qt is compiled w/ RANDR support and RANDR is supported on the connected Display
bool use_xrandr;