summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqlayout.h
diff options
context:
space:
mode:
authorEnrico Ros <eros.kde@email.it>2014-09-16 03:37:39 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-09-16 03:41:51 +0200
commitbaea23ba1f144613c00fe64573a0f6c155a7dbcd (patch)
tree1837a34d8fccfa413c4e5b732faf7cc36a58ad59 /src/kernel/ntqlayout.h
parentf059feb9c60af798f0492256027ccb970972ab08 (diff)
downloadtqt3-baea23ba1f144613c00fe64573a0f6c155a7dbcd.tar.gz
tqt3-baea23ba1f144613c00fe64573a0f6c155a7dbcd.zip
Fix unwanted toggling TQIconViewItem focus on click
This fixes the 'flashing' icon when clicking repeatedly on a TQIconView or derivates (ie TDEIconView, KonqIconViewWidget, the KDesktop and so on..). The current behavior considers that if not over an icon, the user is clicking down to perform icons selection (with the rubberband). This is not always true, since a click might be used to give focus to a window or unselect some icons. How this is fixed: when clicking down the mouse a flag is set. If the pointer is moved on the iconview with the button held down, then (and only at that moment) the rubber is created. Now a selection operation (the one done with the rubber) begins when moving the mouse and not only when clicking on the empty space.
Diffstat (limited to 'src/kernel/ntqlayout.h')
0 files changed, 0 insertions, 0 deletions