[LowLevelWindow_X11] Don't force the window into the upper left corner. [ZipFile]
This commit is contained in:
@@ -11,6 +11,7 @@ StepMania 5.0 Preview 3 | 201108??
|
|||||||
2011/08/13
|
2011/08/13
|
||||||
----------
|
----------
|
||||||
* [Theme-side] Added Fancy UI Background preference to Theme Options. [AJ]
|
* [Theme-side] Added Fancy UI Background preference to Theme Options. [AJ]
|
||||||
|
* [LowLevelWindow_X11] Don't force the window into the upper left corner. [ZipFile]
|
||||||
|
|
||||||
2011/08/07
|
2011/08/07
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -210,9 +210,6 @@ RString LowLevelWindow_X11::TryVideoMode( const VideoModeParams &p, bool &bNewDe
|
|||||||
// XXX: This doesn't handle if the config has changed since we queried it (see man Xrandr)
|
// XXX: This doesn't handle if the config has changed since we queried it (see man Xrandr)
|
||||||
XRRSetScreenConfig( Dpy, g_pScreenConfig, RootWindow(Dpy, DefaultScreen(Dpy)), iSizeMatch, 1, CurrentTime );
|
XRRSetScreenConfig( Dpy, g_pScreenConfig, RootWindow(Dpy, DefaultScreen(Dpy)), iSizeMatch, 1, CurrentTime );
|
||||||
|
|
||||||
// Move the window to the corner that the screen focuses in on.
|
|
||||||
XMoveWindow( Dpy, Win, 0, 0 );
|
|
||||||
|
|
||||||
XRaiseWindow( Dpy, Win );
|
XRaiseWindow( Dpy, Win );
|
||||||
|
|
||||||
// We want to prevent the WM from catching anything that comes from the keyboard.
|
// We want to prevent the WM from catching anything that comes from the keyboard.
|
||||||
@@ -269,7 +266,8 @@ RString LowLevelWindow_X11::TryVideoMode( const VideoModeParams &p, bool &bNewDe
|
|||||||
XSendEvent(Dpy, DefaultRootWindow(Dpy), False, SubstructureNotifyMask, &xev);
|
XSendEvent(Dpy, DefaultRootWindow(Dpy), False, SubstructureNotifyMask, &xev);
|
||||||
|
|
||||||
// This one is needed for compiz, if the window reaches out of bounds of the screen it becames destroyed, only the window, the program is left running.
|
// This one is needed for compiz, if the window reaches out of bounds of the screen it becames destroyed, only the window, the program is left running.
|
||||||
XMoveWindow( Dpy, Win, 0, 0 );
|
// Commented out per the patch at http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=398
|
||||||
|
//XMoveWindow( Dpy, Win, 0, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resize the window.
|
// Resize the window.
|
||||||
|
|||||||
Reference in New Issue
Block a user