Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging
* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging: Don't crash if windowmanager is not initialized Compile fix for 64bit Linux.
This commit is contained in:
commit
f60b3e90e6
@ -79,6 +79,7 @@ void QWaylandWindowManagerIntegration::wlHandleListenerGlobal(wl_display *displa
|
||||
|
||||
void QWaylandWindowManagerIntegration::mapClientToProcess(long long processId)
|
||||
{
|
||||
wl_windowmanager_map_client_to_process(mWaylandWindowManager, (uint32_t) processId);
|
||||
if (mWaylandWindowManager)
|
||||
wl_windowmanager_map_client_to_process(mWaylandWindowManager, (uint32_t) processId);
|
||||
}
|
||||
|
||||
|
@ -921,7 +921,7 @@ static inline int ucstrncmp_short_tail(const ushort *p1, const ushort *p2, int l
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int bsf_nonzero(register long val)
|
||||
static inline int bsf_nonzero(register int val)
|
||||
{
|
||||
int result;
|
||||
# ifdef Q_CC_GNU
|
||||
|
Loading…
Reference in New Issue
Block a user