-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chg: display zxdb version within about dialog chg: bump up zxdb to latest chg: move titlebar logic to a separate file fix: alt-enter not going fullscreen on linux/osx (3rd_tigr) fix: allow ini fields to be read in any order fix: local browser setting was preventing ZXDB browser to show up in fresh restarts
- Loading branch information
Showing
10 changed files
with
79 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
char* tigrTitle(Tigr *win, const char *title) { | ||
static char copy[128] = {0}; | ||
if( title ) { | ||
#ifdef __APPLE__ | ||
|
||
#elif defined _WIN32 | ||
SetWindowTextA((HWND)(win->handle), title); | ||
#else | ||
XTextProperty prop; | ||
int result = Xutf8TextListToTextProperty(dpy, (char**)&title, 1, XUTF8StringStyle, &prop); | ||
if (result == Success) { | ||
Atom wmName = XInternAtom(dpy, "_NET_WM_NAME", 0); | ||
XSetTextProperty(tigrInternal(win)->dpy, tigrInternal(win)->win, &prop, wmName); | ||
XFree(prop.value); | ||
} | ||
#endif | ||
snprintf(copy, 128, "%s", title); | ||
} | ||
return copy; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define ZXDB_VERSION "Version 1.0.197" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters