Skip to content

Commit 4992670

Browse files
author
Codeusa
committed
Merge remote-tracking branch 'origin/alex/dev'
Conflicts: Program.cs Properties/AssemblyInfo.cs
1 parent 95a54b8 commit 4992670

File tree

7 files changed

+35
-34
lines changed

7 files changed

+35
-34
lines changed

BorderlessGaming.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</PropertyGroup>
5959
<ItemGroup>
6060
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
61-
<HintPath>..\packages\Newtonsoft.Json.5.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
61+
<HintPath>..\packages\Newtonsoft.Json.5.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
6262
</Reference>
6363
<Reference Include="System" />
6464
<Reference Include="System.Core" />

CompactWindow.cs

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,24 @@ private void PopulateList() //Adds active windows to the processDataList
126126
processList.DataSource = _tempList;
127127
var processlist = Process.GetProcesses();
128128

129-
foreach (
130-
var process in
131-
processlist.Where(process => process != null)
132-
.Where(process => !process.ProcessName.Equals("explorer")))
129+
foreach (var process in processlist)
133130
{
131+
if (process == null)
132+
{
133+
continue;
134+
}
135+
if (process.ProcessName.Equals("explorer"))
136+
{
137+
continue;
138+
}
134139
if (String.IsNullOrEmpty(process.MainWindowTitle))
135140
{
136141
Native.SetWindowText(process.MainWindowHandle, process.ProcessName);
137142
}
138-
if (process.MainWindowTitle.Length <= 0) continue;
139-
_processDataList.Add(process.ProcessName);
143+
if (process.MainWindowTitle.Length > 0)
144+
{
145+
_processDataList.Add(process.ProcessName);
146+
}
140147
}
141148

142149

@@ -190,16 +197,16 @@ private void RemoveBorder(String procName) //actually make it frameless
190197
//If on multiple screens it will grab bounds from the screen it is most on.
191198
//If not on any screen it grabs bounds from the screen closest
192199
var bounds = Screen.FromHandle(pFoundWindow).Bounds;
193-
200+
194201
if (!_borderlessWindows.Contains(pFoundWindow.ToInt32().ToString()))
195202
{
196203
//Using bounds.X and bounds.Y instead of 0, 0 so it will orient the window
197204
//on the screen it is currently occupying instead of using the primary screen
198205
Native.SetWindowPos(pFoundWindow, 0, bounds.X, bounds.Y, bounds.Width, bounds.Height, SWP_NOZORDER | SWP_SHOWWINDOW);
199206
_borderlessWindows.Add(pFoundWindow.ToInt32().ToString());
200207
} //today I learn the definition of a hot fix
201-
202-
208+
209+
203210
//no more outside window
204211
// CheckNativeResult(() => Native.MoveWindow(pFoundWindow, 0, 0, bounds.Width, bounds.Height, true));
205212
//resets window to main monito

Forms/CompactWindow.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,7 @@
30363036
gAAR5sG2MpDgCNBt4VsV+HgOOHGM765weOOQhjQm0xEYKol2js4H29eKViTb6lMv2u+UaJ+RaJ+ZSLRz
30373037
LtE+I8GIdw+30gVon6kHf8ervQf8+yHasRrV6pd2TpqKOs9LeDzrnHjf3hxhdsKApaNUj+3xhPvbPH4B
30383038
3a4ddvG7mX3W5EULB01uye59V143+tVbHvrG+50MZ+UClcwsTFC588nvXv2+zU+szS0d3hfNp4S+eIAH
3039-
22B0LpsGXr/BOWtnGsqei/dloMF9J96HU+eBktOZ4JxccLS/KcAgLE94F3VBoL9RCfU7S3DM+IE57JXQ
3039+
22B0LpsGXr/BOWtnGsqei9dkoMF9J96HU+eBktOZ4JxccLS/KcAgLE94F3VBoL9RCfU7S3DM+IE57JXQ
30403040
PpNAJiYN9X+qA+2cSbTP1AV+x/TFj8FKnBNZb8PP8Gt0A4S6AXhzJ3E8mQEYgkL3QR6L0IqxW+hiIx2N
30413041
Fg6NXLny0FfbB09+zMltVsahZGZhEspdj7z0qx+47Ymb39E1tD2a108VngJjiW12m9GLFge6M+HAode5
30423042
Pw8CiX4+glsW6D0XgDyOAc9diwK/1ovfVTITcbB6NAOSkZGRUSvetOK50J4kMAAO1jL7PN65l800fY60
@@ -3072,7 +3072,7 @@
30723072
gVaG9xFXuJcnrNDfzMxCVrKSlaxkJSuNXtxYBkzDfw+BdRombLYE/a3MLGQlK1nJSlay0gzFGQYsLPUr
30733073
xC+5l8e90N/KzEJWspKVrGQlK81SRAsDxjBMyOJN9HemlVm4msjMQlaykpWsZKWpC+UyTK3E4k0Tsg4D
30743074
/Z1pYxbQv3MVHJl7KStZyUpWspKVpiyudQHrMEzIYEeYBM+ULfTPwYGhuabNvZSVrGQlK1nJSlMX5DRi
3075-
gs2Cif4/xlgEZ0If678AAAAASUVORK5CYII=
3075+
gs2Cif4/xlgEZ8hOtXEAAAAASUVORK5CYII=
30763076
</value>
30773077
</data>
30783078
<data name="button2.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
// You can specify all the values or you can default the Build and Revision Numbers
3636
// by using the '*' as shown below:
3737
// [assembly: AssemblyVersion("1.0.*")]
38-
39-
[assembly: AssemblyVersion("4.5.0.0")]
40-
[assembly: AssemblyFileVersion("4.5.0.0")]
38+
[assembly: AssemblyVersion("5.0.0.0")]
39+
[assembly: AssemblyFileVersion("5.0.0.0")]
4140
[assembly: NeutralResourcesLanguage("en-US")]

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Borderless-Gaming
2-
> "Open source light weight, portable fake fullscreen app"
3-
4-
# Join our Steam Group!
5-
[Borderless Gaming on Steam](http://steamcommunity.com/groups/borderless-gaming)
6-
7-
81
# What is this?
92
Borderless Gaming is a simple tool that will allow you to turn your windowed video games into "fullscreen" applications without all of the negative side effects
103

@@ -17,25 +10,27 @@ The project is open source under the [GNU GENERAL PUBLIC LICENSE](https://github
1710

1811
![Image](http://i.imgur.com/kRmOysJ.jpg)
1912

13+
2014
## How to install and run Borderless-Gaming
2115

2216
#### Install
2317

24-
Download the latest build from: https://github.com/Codeusa/Borderless-Gaming/releases/tag/4.3
18+
*Download the latest build from: https://github.com/Codeusa/Borderless-Gaming/releases/download/4.6/BorderlessGaming.zip
2519

20+
*Extract its contents to any desired folder
2621

27-
Extract its contents to any desired folder
28-
29-
Run it
22+
*Run it
3023

3124
#### Usage
3225
You can simply run the application and manually process games for borderless mode
3326

3427
Or you can select a game from the process list and click "add to favourites" to have it switched every time the game is run or detected as being active.
3528

3629
#### Need help?
37-
contact me on my [blog](http://andrew.codeusa.net/ask)
38-
Feel free to contact me on my
30+
contact me on my [blog](http://andrew.codeusa.net/ask)
31+
32+
or if you're suffering from crashes or bugs submit information [here](https://github.com/Codeusa/Borderless-Gaming/issues?state=open)
33+
3934

4035
## Helping Borderless-Gaming
4136

@@ -49,4 +44,7 @@ Feel free to contact me on my
4944

5045
* **Twitter:** [@CodeusaSoftware](https://twitter.com/codeusasoftware)
5146
* **Blog:** [andrew.codeusa.net](http://andrew.codeusa.net)
52-
* **Youtube:** [Youtube Channel](http://www.youtube.com/codeusasoftware)
47+
* **Youtube:** [Youtube Channel](http://www.youtube.com/codeusasoftware)
48+
49+
# Join our Steam Group!
50+
[Borderless Gaming on Steam](http://steamcommunity.com/groups/borderless-gaming)

packages.config

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
3-
<packages>
4-
<package id="Newtonsoft.Json" version="5.0.8" targetFramework="net40" />
5-
</packages>
2+
<packages />

version.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<borderlessgaming>
3-
<version>4.6</version>
3+
<version>5.0</version>
44
<url>https://github.com/Codeusa/Borderless-Gaming/releases/latest</url>
55
</borderlessgaming>

0 commit comments

Comments
 (0)