Fix wrong enum
Why do they have to sound so similar?
This commit is contained in:
parent
2944e919da
commit
85152773fc
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e)
|
||||||
&& (event->detail == XCB_NOTIFY_DETAIL_NONE || event->detail == XCB_NOTIFY_DETAIL_POINTER_ROOT)) {
|
&& (event->detail == XCB_NOTIFY_DETAIL_NONE || event->detail == XCB_NOTIFY_DETAIL_POINTER_ROOT)) {
|
||||||
Xcb::CurrentInput currentInput;
|
Xcb::CurrentInput currentInput;
|
||||||
updateXTime(); // focusToNull() uses xTime(), which is old now (FocusIn has no timestamp)
|
updateXTime(); // focusToNull() uses xTime(), which is old now (FocusIn has no timestamp)
|
||||||
if (!currentInput.isNull() && (currentInput->focus == XCB_WINDOW_NONE || currentInput->focus == XCB_NOTIFY_DETAIL_POINTER_ROOT)) {
|
if (!currentInput.isNull() && (currentInput->focus == XCB_WINDOW_NONE || currentInput->focus == XCB_INPUT_FOCUS_POINTER_ROOT)) {
|
||||||
//kWarning( 1212 ) << "X focus set to None/PointerRoot, reseting focus" ;
|
//kWarning( 1212 ) << "X focus set to None/PointerRoot, reseting focus" ;
|
||||||
Client *c = mostRecentlyActivatedClient();
|
Client *c = mostRecentlyActivatedClient();
|
||||||
if (c != NULL)
|
if (c != NULL)
|
||||||
|
|
Loading…
Reference in a new issue