mirror of
https://github.com/labwc/labwc.git
synced 2025-11-09 13:30:01 -05:00
Remove unused variables
This commit is contained in:
parent
749fa9073d
commit
5ef1616075
2 changed files with 1 additions and 55 deletions
52
.gitignore
vendored
52
.gitignore
vendored
|
|
@ -1,52 +1,2 @@
|
||||||
# Prerequisites
|
|
||||||
*.d
|
|
||||||
|
|
||||||
# Object files
|
|
||||||
*.o
|
*.o
|
||||||
*.ko
|
xdg-shell-protocol.*
|
||||||
*.obj
|
|
||||||
*.elf
|
|
||||||
|
|
||||||
# Linker output
|
|
||||||
*.ilk
|
|
||||||
*.map
|
|
||||||
*.exp
|
|
||||||
|
|
||||||
# Precompiled Headers
|
|
||||||
*.gch
|
|
||||||
*.pch
|
|
||||||
|
|
||||||
# Libraries
|
|
||||||
*.lib
|
|
||||||
*.a
|
|
||||||
*.la
|
|
||||||
*.lo
|
|
||||||
|
|
||||||
# Shared objects (inc. Windows DLLs)
|
|
||||||
*.dll
|
|
||||||
*.so
|
|
||||||
*.so.*
|
|
||||||
*.dylib
|
|
||||||
|
|
||||||
# Executables
|
|
||||||
*.exe
|
|
||||||
*.out
|
|
||||||
*.app
|
|
||||||
*.i*86
|
|
||||||
*.x86_64
|
|
||||||
*.hex
|
|
||||||
|
|
||||||
# Debug files
|
|
||||||
*.dSYM/
|
|
||||||
*.su
|
|
||||||
*.idb
|
|
||||||
*.pdb
|
|
||||||
|
|
||||||
# Kernel Module Compile Results
|
|
||||||
*.mod*
|
|
||||||
*.cmd
|
|
||||||
.tmp_versions/
|
|
||||||
modules.order
|
|
||||||
Module.symvers
|
|
||||||
Mkfile.old
|
|
||||||
dkms.conf
|
|
||||||
|
|
|
||||||
4
tinywl.c
4
tinywl.c
|
|
@ -309,9 +309,6 @@ static bool view_at(struct tinywl_view *view,
|
||||||
*/
|
*/
|
||||||
double view_sx = lx - view->x;
|
double view_sx = lx - view->x;
|
||||||
double view_sy = ly - view->y;
|
double view_sy = ly - view->y;
|
||||||
|
|
||||||
struct wlr_surface_state *state = &view->xdg_surface->surface->current;
|
|
||||||
|
|
||||||
double _sx, _sy;
|
double _sx, _sy;
|
||||||
struct wlr_surface *_surface = NULL;
|
struct wlr_surface *_surface = NULL;
|
||||||
_surface = wlr_xdg_surface_surface_at(
|
_surface = wlr_xdg_surface_surface_at(
|
||||||
|
|
@ -475,7 +472,6 @@ static void server_cursor_button(struct wl_listener *listener, void *data) {
|
||||||
wlr_seat_pointer_notify_button(server->seat,
|
wlr_seat_pointer_notify_button(server->seat,
|
||||||
event->time_msec, event->button, event->state);
|
event->time_msec, event->button, event->state);
|
||||||
double sx, sy;
|
double sx, sy;
|
||||||
struct wlr_seat *seat = server->seat;
|
|
||||||
struct wlr_surface *surface;
|
struct wlr_surface *surface;
|
||||||
struct tinywl_view *view = desktop_view_at(server,
|
struct tinywl_view *view = desktop_view_at(server,
|
||||||
server->cursor->x, server->cursor->y, &surface, &sx, &sy);
|
server->cursor->x, server->cursor->y, &surface, &sx, &sy);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue