[client] x11/sdl: get the border dimensions from the backend

This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent 6b1e310343
commit dbb18a6ecb
6 files changed
+98 -19

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdbool.h>
#include "common/types.h"
#include "interface/displayserver.h"
SDL_Window * app_getWindow(void);
@@ -30,7 +31,7 @@ bool app_cursorWantsRaw(void);
bool app_cursorInWindow(void);
void app_updateCursorPos(double x, double y);
void app_updateWindowPos(int x, int y);
void app_handleResizeEvent(int w, int h);
void app_handleResizeEvent(int w, int h, const struct Border border);
void app_handleMouseGrabbed(double ex, double ey);
void app_handleMouseNormal(double ex, double ey);
void app_handleMouseBasic(void);