IGraphicsDataToken and IGraphicsCommandQueue::stopRenderer()

This commit is contained in:
Jack Andersen
2015-12-04 14:41:30 -10:00
parent 32d4797ac6
commit d145e15ecb
9 changed files with 81 additions and 28 deletions

View File

@@ -60,7 +60,7 @@ static Window GetWindowOfEvent(XEvent* event, bool& windowEvent)
case ButtonRelease:
{
windowEvent = true;
return event->xbutton.window;;
return event->xbutton.window;
}
case MotionNotify:
{
@@ -290,7 +290,6 @@ public:
XNextEvent(m_xDisp, &event);
bool windowEvent;
Window evWindow = GetWindowOfEvent(&event, windowEvent);
//fprintf(stderr, "EVENT %d\n", XCB_EVENT_RESPONSE_TYPE(event));
if (windowEvent)
{
auto window = m_windows.find(evWindow);

View File

@@ -25,7 +25,7 @@
#include "XlibCommon.hpp"
#define REF_DPMM 3.7824 /* 96 DPI */
#define REF_DPMM 3.78138
#define FS_ATOM "_NET_WM_STATE_FULLSCREEN"
#define MWM_HINTS_FUNCTIONS (1L << 0)