Cleanup
This commit is contained in:
parent
370cd14b46
commit
cba652e4f3
@ -102,6 +102,15 @@ static int getWindowState(_GLFWwindow* window)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Returns whether the event is a selection event
|
||||||
|
//
|
||||||
|
static Bool isSelectionEvent(Display* display, XEvent* event, XPointer pointer)
|
||||||
|
{
|
||||||
|
return event->type == SelectionRequest ||
|
||||||
|
event->type == SelectionNotify ||
|
||||||
|
event->type == SelectionClear;
|
||||||
|
}
|
||||||
|
|
||||||
// Returns whether the event is a selection event
|
// Returns whether the event is a selection event
|
||||||
//
|
//
|
||||||
static Bool isFrameExtentsEvent(Display* display, XEvent* event, XPointer pointer)
|
static Bool isFrameExtentsEvent(Display* display, XEvent* event, XPointer pointer)
|
||||||
@ -611,15 +620,6 @@ static GLFWbool createWindow(_GLFWwindow* window,
|
|||||||
return GLFW_TRUE;
|
return GLFW_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns whether the event is a selection event
|
|
||||||
//
|
|
||||||
static Bool isSelectionEvent(Display* display, XEvent* event, XPointer pointer)
|
|
||||||
{
|
|
||||||
return event->type == SelectionRequest ||
|
|
||||||
event->type == SelectionNotify ||
|
|
||||||
event->type == SelectionClear;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the specified property to the selection converted to the requested target
|
// Set the specified property to the selection converted to the requested target
|
||||||
//
|
//
|
||||||
static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
|
static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
|
||||||
|
Loading…
Reference in New Issue
Block a user