awesome/objects
Uli Schlachter ea413969f3 screen:swap(): Avoid segfault on almost-deleted screens
When a screen is in the process of being removed, it is still valid, but
no longer in the global list of screens (globalconf.screens). In this
time frame, trying to swap screens could cause a NULL pointer
dereference.

Fix this by throwing a Lua error in this case instead.

Fixes: https://github.com/awesomeWM/awesome/issues/2110
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-11-19 15:40:20 +01:00
..
button.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c doc: improve/fix doc for awful.rules (#2005) 2017-08-20 13:37:03 -04:00
client.h C code: save all instead of just one client icons 2017-03-07 22:45:49 +01:00
drawable.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c drawin: add a `get()` function. (#2013) 2017-08-21 21:15:18 +02:00
drawin.h Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
key.c Remove obsolete include and Xlib comment. 2017-01-05 23:17:11 +01:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c screen:swap(): Avoid segfault on almost-deleted screens 2017-11-19 15:40:20 +01:00
screen.h client_resize(): Stop trying to force on screen 2017-05-15 08:15:38 +02:00
tag.c tags: specify layout in add_tag doc snippet (#1950) 2017-08-07 14:35:39 -04:00
tag.h Attempt at better handling of NET_CURRENT_DESKTOP property. 2016-06-04 16:42:54 +03:00
window.c Stop grabbing mouse buttons on frame windows (#1724) 2017-04-18 14:39:43 +02:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00