GetClipboardImage(): Small fix to remove unnecessary boolean
This commit is contained in:
parent
80246a92fa
commit
a967463885
|
|
@ -1082,10 +1082,9 @@ Image GetClipboardImage(void)
|
|||
XSync(display, 0);
|
||||
|
||||
XEvent ev = { 0 };
|
||||
bool eventFound;
|
||||
|
||||
// Keep calling until we get SelectionNotify
|
||||
do { eventFound = XCheckTypedEvent(display, SelectionNotify, &ev); } while(!eventFound);
|
||||
while (XCheckTypedEvent(display, SelectionNotify, &ev) == False);
|
||||
|
||||
Atom actualType = { 0 };
|
||||
int actualFormat = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user