mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
CtrlCore: Wayland fixes, ide: Upgrade now using blitz if enabled as build method default
This commit is contained in:
parent
3bf10b2ec5
commit
f499a97052
4 changed files with 7 additions and 3 deletions
|
|
@ -435,6 +435,9 @@ void Ctrl::WndInvalidateRect(const Rect& r)
|
|||
rr.right = (r.right + 1) / 2;
|
||||
rr.bottom = (r.bottom + 1) / 2;
|
||||
}
|
||||
|
||||
if(IsWayland())
|
||||
rr.Inflate(2, 2); // TODO: This is temporary fix
|
||||
|
||||
// as gtk3 dropped thread locking, we need to push invalid rectangles onto main loop
|
||||
for(Win& win : wins) {
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ void ChHostSkin()
|
|||
Gtk_New("scrollbar.horizontal.bottom contents trough slider");
|
||||
GtkSize(sz);
|
||||
|
||||
s.barsize = s.thumbwidth = DPI(sz.cy);
|
||||
s.barsize = s.thumbwidth = Ctrl::SCL(sz.cy);
|
||||
s.thumbmin = max(minslider, 2 * s.barsize);
|
||||
|
||||
sz.cx = 4 * sz.cy;
|
||||
|
|
|
|||
|
|
@ -33,9 +33,8 @@ void Ide::UpgradeTheIDE()
|
|||
#endif
|
||||
release.createmap = false;
|
||||
release.version.Clear();
|
||||
release.def.blitz = false;
|
||||
release.def.debug = false;
|
||||
release.package.Clear();
|
||||
release.def.blitz = MapFlag(GetMethodVars(method), "RELEASE_BLITZ");
|
||||
|
||||
targetmode = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -1300,6 +1300,8 @@ String GetGitBranchRaw(const String& dir);
|
|||
|
||||
Index<String> GetAllNests(bool sleep = false);
|
||||
|
||||
bool MapFlag(const VectorMap<class String, class String>& map, const char *key);
|
||||
|
||||
#include "urepo.h"
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue