Skip to content

Instantly share code, notes, and snippets.

View jerstlouis's full-sized avatar

Jerome St-Louis jerstlouis

View GitHub Profile
jerome@mint14-64 /ecere-sdk/master $ git diff .
diff --git a/ecere/src/gui/drivers/XInterface.ec b/ecere/src/gui/drivers/XInterface.ec
index b74ed32..cd0e171 100644
--- a/ecere/src/gui/drivers/XInterface.ec
+++ b/ecere/src/gui/drivers/XInterface.ec
@@ -2926,7 +2926,7 @@ class XInterface : Interface
x += desktopX;
y += desktopY;
- if(!fullScreenMode && (!atomsSupported[_net_wm_state] || window.state != maximized))
WINDOWPLACEMENT plc = { 0 };
GetWindowPlacement(window.windowHandle, &plc);
plc.showCmd = (window.nativeDecorations && state == maximized) ? SW_MAXIMIZE : SW_SHOWNORMAL;
ShowWindow(window.windowHandle, SW_SHOWNOACTIVATE);
SetWindowPlacement(window.windowHandle, &plc);
static class WinWindowData : struct
{
int ignoreMaximize;
int ignoreRestore;
int ignoreMinimize;
};
EVENTS: CreateNotify on root 0: parent: 0x288 window: 0x180377e serial 59580
STACK: Stack op event received: ADD(0x180377e; 59580)
STACK: MetaStackTracker state (screen=0)
server_serial: 59580
server_stack: 0x2000021 0x400001 0x600001 0x400004 0x1000001 0x400008 0xe00001 0xe00003 0x1a00001 0x1a00004 0x1a00007 0x1a0000b 0x20000b5 0x2000035 0x2000749 0x20007c4 0x1a000c5 0x2400001 0x2400004 0x2400007 0x1200001 0x1400001 0x2000001 0x2000009 0x200000b 0x200000c 0x200000d 0x200000e 0x2000014 0x2000016 0x2000019 0x286 0x1a00267 0x1a0026d 0xc00001 0xc00004 0xc00007 0x1a0025f 0x200044d 0x1800029 0x18000c0 0x18001ac 0x18001b2 0x18001b8 0x2600029 0x26000c0 0x26001ac 0x26001b2 0x26001b8 0x2401768 0x2401222 0x2401743 0x24016d9 0x24016af 0x24015ed 0x24015c1 0x180377e
queued_requests: []
EVENTS: ClientMessage on 0x180377e: type: _NET_REQUEST_FRAME_EXTENTS format: 32
SEND serial 59584
VERBOSE: Received _NET_REQUEST_FRAME_EXTENTS message
VERBOSE: Setting frame e
import "ecere"
class Form1 : Window
{
caption = $"Form1";
background = formColor;
borderStyle = sizable;
hasMaximize = true;
hasMinimize = true;
hasClose = true;
import "ecere"
class Form1 : Window
{
caption = $"Form1";
background = formColor;
borderStyle = sizable;
hasMaximize = true;
hasMinimize = true;
hasClose = true;
import "ecere"
ConsoleFile con { };
class BaseStruct : struct
{
public:
void * type;
int continued;
};
jerome@precise:/$ sudo apt-get install libasound2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
debhelper : Depends: dpkg (>= 1.16.2) but 1.16.1.2ubuntu7.1 is to be installed
Depends: dpkg-dev (>= 1.16.2) but 1.16.1.2ubuntu7 is to be installed
libasound2-dev : Depends: libasound2 (= 1.0.25-1ubuntu10.2)
libec0 : Depends: libecere0 (= 201212201120-0~999~precise1) but 0.44.04-1 is to be installed
V/ecere-app( 4683): Creating: 0x752a9e40
I/ecere-app( 4683): internalDataPath is /data/data/com.ecere.Hello/files
I/ecere-app( 4683): externalDataPath is /storage/emulated/0/Android/data/com.ecere.Hello/files
I/ecere-app( 4683): cwd is /
V/ecere-app( 4683): Config: mcc=302 mnc=0 lang=en cnt=US orien=2 touch=3 dens=320 keys=1 nav=1 keysHid=3 navHid=0 sdk=19 size=4 long=1 modetype=1 modenight=1
V/ecere-app( 4683): Start: 0x752a9e40
I/ecere-app( 4683): pre_exec_cmd: Start
V/ecere-app( 4683): Resume: 0x752a9e40
I/ecere-app( 4683): post_exec_cmd: Start
I/ecere-app( 4683): pre_exec_cmd: Resume
V/ecere-app( 5250): Calling AndroidInterface_GetLibLocation
V/ecere-app( 5250): Calling AndroidInterface_GetLibLocation returned /data/data/com.ecere.Hello/lib/lib
V/ecere-app( 5250): Calling Instance_Module_Load
V/ecere-app( 5250): Coming in to Instance_Module_Load
V/ecere-app( 5250): Attempting to load module Hello as /data/data/com.ecere.Hello/lib/libHello.so
V/ecere-app( 5250): Attempting to load module Hello as /usr/lib/ec/libHello.so
V/ecere-app( 5250): Attempting to load module Hello as /usr/lib32/ec/libHello.so
V/ecere-app( 5250): Failed to find module Hello
V/ecere-app( 5250): Instance_Module_Load returned 0x0