call get_screen_bycoord() anyway
This commit is contained in:
parent
ec7ab36814
commit
44aab9ff4b
4
client.c
4
client.c
|
@ -22,7 +22,6 @@
|
|||
#include <stdio.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
#include <X11/extensions/Xinerama.h>
|
||||
|
||||
#include "client.h"
|
||||
#include "tag.h"
|
||||
|
@ -418,10 +417,7 @@ client_resize(Client *c, Area geometry, Bool sizehints)
|
|||
if(c->geometry.x != geometry.x || c->geometry.y != geometry.y
|
||||
|| c->geometry.width != geometry.width || c->geometry.height != geometry.height)
|
||||
{
|
||||
if(XineramaIsActive(globalconf.display))
|
||||
new_screen = get_screen_bycoord(geometry.x, geometry.y);
|
||||
else
|
||||
new_screen = c->screen;
|
||||
|
||||
c->geometry.x = wc.x = geometry.x;
|
||||
c->geometry.y = wc.y = geometry.y;
|
||||
|
|
Loading…
Reference in New Issue