mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
fix regression since 28d63e9b27
apparently if default is used the cursor may not be one from theme set via XcursorSetTheme(), it affects not only left_ptr alternative too so try non-alternative first Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
339b9103dd
commit
6bb88e7504
1 changed files with 2 additions and 2 deletions
|
@ -255,10 +255,10 @@ void QCursorData::update()
|
|||
}
|
||||
|
||||
#ifndef QT_NO_XCURSOR
|
||||
if (!hcurs && CursorTbl[cshape].alternative)
|
||||
hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].alternative);
|
||||
if (!hcurs)
|
||||
hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].name);
|
||||
if (!hcurs && CursorTbl[cshape].alternative)
|
||||
hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].alternative);
|
||||
if (hcurs)
|
||||
return;
|
||||
#endif // QT_NO_XCURSOR
|
||||
|
|
Loading…
Add table
Reference in a new issue