Camilla Berglund hace 11 años
padre
commit
d6e0e0de2b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/x11_clipboard.c

+ 2 - 2
src/x11_clipboard.c

@@ -34,7 +34,7 @@
 
 
 // Returns whether the event is a selection event
 // Returns whether the event is a selection event
 //
 //
-static Bool isSelectionMessage(Display* display, XEvent* event, XPointer pointer)
+static Bool isSelectionEvent(Display* display, XEvent* event, XPointer pointer)
 {
 {
     return event->type == SelectionRequest ||
     return event->type == SelectionRequest ||
            event->type == SelectionNotify ||
            event->type == SelectionNotify ||
@@ -216,7 +216,7 @@ void _glfwPushSelectionToManager(_GLFWwindow* window)
     {
     {
         XEvent event;
         XEvent event;
 
 
-        if (!XCheckIfEvent(_glfw.x11.display, &event, isSelectionMessage, NULL))
+        if (!XCheckIfEvent(_glfw.x11.display, &event, isSelectionEvent, NULL))
             continue;
             continue;
 
 
         switch (event.type)
         switch (event.type)